src/CodeGeneration/NamespaceHelper.php
public function getEntitySubNamespace(
        string $entityFqn
    ): string {
        return $this->tidy(
            \substr(
                $entityFqn,
                \strrpos(
                    $entityFqn,
                    '\\' . AbstractGenerator::ENTITIES_FOLDER_NAME . '\\'
                )
                + \strlen('\\' . AbstractGenerator::ENTITIES_FOLDER_NAME . '\\')
            )
        );
    }
public function getEntitySubNamespace(
        string $entityFqn
    ): string {
        return $this->tidy(
            \substr(
                $entityFqn,
                \strrpos(
                    $entityFqn,
                    '\\' . AbstractGenerator::ENTITIES_FOLDER_NAME . '\\'
                )
                + \strlen('\\' . AbstractGenerator::ENTITIES_FOLDER_NAME . '\\')
            )
        );
    }
public function getEntitySubNamespace ( string $ entityFqn ) : string { return $ this -> tidy ( \ substr ( $ entityFqn , \ strrpos ( $ entityFqn , '\\' . AbstractGenerator :: ENTITIES_FOLDER_NAME . '\\' ) + \ strlen ( '\\' . AbstractGenerator :: ENTITIES_FOLDER_NAME . '\\' ) ) ) ; }
Get the Namespace for an Entity, start from the Entities Fully Qualified Name base - normally
`\My\Project\Entities\`

@param string $entityFqn

@return string
Get the Namespace for an Entity start from the Entities Fully Qualified Name base - normally \ My \ Project \ Entities \