src/CodeGeneration/NamespaceHelper.php
public function getHasSingularInterfaceFqnForEntity(
        string $entityFqn
    ): string {
        try {
            $interfaceNamespace = $this->getInterfacesNamespaceForEntity($entityFqn);

            return $interfaceNamespace . '\\Has' . ucfirst($entityFqn::getDoctrineStaticMeta()->getSingular())
                   . 'Interface';
        } catch (\Exception $e) {
            throw new DoctrineStaticMetaException(
                'Exception in ' . __METHOD__ . ': ' . $e->getMessage(),
                $e->getCode(),
                $e
            );
        }
    }
public function getHasSingularInterfaceFqnForEntity(
        string $entityFqn
    ): string {
        try {
            $interfaceNamespace = $this->getInterfacesNamespaceForEntity($entityFqn);

            return $interfaceNamespace . '\\Has' . ucfirst($entityFqn::getDoctrineStaticMeta()->getSingular())
                   . 'Interface';
        } catch (\Exception $e) {
            throw new DoctrineStaticMetaException(
                'Exception in ' . __METHOD__ . ': ' . $e->getMessage(),
                $e->getCode(),
                $e
            );
        }
    }
public function getHasSingularInterfaceFqnForEntity ( string $ entityFqn ) : string { try { $ interfaceNamespace = $ this -> getInterfacesNamespaceForEntity ( $ entityFqn ) ; return $ interfaceNamespace . '\\Has' . ucfirst ( $ entityFqn :: getDoctrineStaticMeta ( ) -> getSingular ( ) ) . 'Interface' ; } catch ( \ Exception $ e ) { throw new DoctrineStaticMetaException ( 'Exception in ' . __METHOD__ . ': ' . $ e -> getMessage ( ) , $ e -> getCode ( ) , $ e ) ; } }
Get the Fully Qualified Namespace for the "HasEntity" interface for the specified Entity

@param string $entityFqn

@return string
@throws DoctrineStaticMetaException
Get the Fully Qualified Namespace for the HasEntity interface for the specified Entity