BumbleDocGen / Technical description of the project / Class map / RootEntityInterface
RootEntityInterface class:
namespace BumbleDocGen\Core\Parser\Entity;
interface RootEntityInterface extends \\BumbleDocGen\Core\Parser\Entity\EntityInterface implements \BumbleDocGen\Core\Parser\Entity\EntityInterface
Since the documentation generator supports several programming languages, their entities need to correspond to the same interfaces
- entityCacheIsOutdated
- entityDataCanBeLoaded - Checking if it is possible to get the entity data
- getAbsoluteFileName - Returns the absolute path to a file if it can be retrieved and if the file is in the project directory
- getEntityDependencies
- getFileContent
- getFileName - Returns the relative path to a file if it can be retrieved and if the file is in the project directory
- getFileSourceLink
- getName
- getObjectId
- getRootEntityCollection - Get parent collection of entities
- getShortName
- isEntityNameValid - Check if entity name is valid
- isExternalLibraryEntity - The entity is loaded from a third party library and should not be treated the same as a standard one
- isInGit - The entity file is in the git repository
- # entityCacheIsOutdated | source code
// Implemented in BumbleDocGen\Core\Parser\Entity\EntityInterface
public function entityCacheIsOutdated(): bool;
Parameters: not specified
Return value: bool
- # entityDataCanBeLoaded | source code
public function entityDataCanBeLoaded(): bool;
Checking if it is possible to get the entity data
Parameters: not specified
Return value: bool
- # getAbsoluteFileName | source code
// Implemented in BumbleDocGen\Core\Parser\Entity\EntityInterface
public function getAbsoluteFileName(): string|null;
Returns the absolute path to a file if it can be retrieved and if the file is in the project directory
Parameters: not specified
- # getEntityDependencies | source code
public function getEntityDependencies(): array;
Parameters: not specified
Return value: array
- # getFileContent | source code
public function getFileContent(): string;
Parameters: not specified
Return value: string
- # getFileName | source code
// Implemented in BumbleDocGen\Core\Parser\Entity\EntityInterface
public function getFileName(): string|null;
Returns the relative path to a file if it can be retrieved and if the file is in the project directory
Parameters: not specified
- # getFileSourceLink | source code
public function getFileSourceLink(bool $withLine = true): string|null;
Parameters:
Name | Type | Description |
---|---|---|
$withLine | bool | - |
- # getName | source code
// Implemented in BumbleDocGen\Core\Parser\Entity\EntityInterface
public function getName(): string;
Parameters: not specified
Return value: string
- # getObjectId | source code
// Implemented in BumbleDocGen\Core\Parser\Entity\EntityInterface
public function getObjectId(): string;
Parameters: not specified
Return value: string
- # getRootEntityCollection | source code
// Implemented in BumbleDocGen\Core\Parser\Entity\EntityInterface
public function getRootEntityCollection(): \BumbleDocGen\Core\Parser\Entity\RootEntityCollection;
Get parent collection of entities
Parameters: not specified
Return value: \BumbleDocGen\Core\Parser\Entity\RootEntityCollection
- # getShortName | source code
// Implemented in BumbleDocGen\Core\Parser\Entity\EntityInterface
public function getShortName(): string;
Parameters: not specified
Return value: string
- # isEntityNameValid | source code
public static function isEntityNameValid(string $entityName): bool;
Check if entity name is valid
Parameters:
Name | Type | Description |
---|---|---|
$entityName | string | - |
Return value: bool
- # isExternalLibraryEntity | source code
public function isExternalLibraryEntity(): bool;
The entity is loaded from a third party library and should not be treated the same as a standard one
Parameters: not specified
Return value: bool
- # isInGit | source code
public function isInGit(): bool;
The entity file is in the git repository
Parameters: not specified
Return value: bool