Skip to content

Latest commit

 

History

History
887 lines (594 loc) · 22.3 KB

File metadata and controls

887 lines (594 loc) · 22.3 KB

BumbleDocGen / Technical description of the project / Class map / DynamicMethodEntity


namespace BumbleDocGen\LanguageHandler\Php\Parser\Entity;

class DynamicMethodEntity implements \BumbleDocGen\LanguageHandler\Php\Parser\Entity\MethodEntityInterface, \BumbleDocGen\Core\Parser\Entity\EntityInterface
Method obtained by parsing the "method" annotation

Initialization methods:

  1. __construct

Methods:

  1. entityCacheIsOutdated
  2. getAbsoluteFileName
  3. getBodyCode
  4. getCallMethod
  5. getDescription
  6. getEndLine
  7. getFileName
  8. getFirstReturnValue
  9. getImplementingClass
  10. getImplementingClassName
  11. getImplementingReflectionClass
  12. getModifiersString
  13. getName
  14. getNamespaceName
  15. getObjectId
  16. getParameters
  17. getParametersString
  18. getReturnType
  19. getRootEntity
  20. getRootEntityCollection - Get parent collection of entities
  21. getShortName
  22. getStartColumn
  23. getStartLine
  24. isDynamic
  25. isInitialization
  26. isPrivate
  27. isProtected
  28. isPublic
  29. isStatic

Method details:

public function __construct(\BumbleDocGen\Core\Configuration\Configuration $configuration, \BumbleDocGen\LanguageHandler\Php\Parser\ParserHelper $parserHelper, \BumbleDocGen\LanguageHandler\Php\Parser\Entity\ClassEntity $classEntity, \phpDocumentor\Reflection\DocBlock\Tags\Method $annotationMethod);

Parameters:

Name Type Description
$configuration \BumbleDocGen\Core\Configuration\Configuration -
$parserHelper \BumbleDocGen\LanguageHandler\Php\Parser\ParserHelper -
$classEntity \BumbleDocGen\LanguageHandler\Php\Parser\Entity\ClassEntity -
$annotationMethod \phpDocumentor\Reflection\DocBlock\Tags\Method -

public function entityCacheIsOutdated(): bool;

Parameters: not specified

Return value: bool


public function getAbsoluteFileName(): string|null;

Parameters: not specified

Return value: string | null

Throws:


public function getBodyCode(): string;

Parameters: not specified

Return value: string


public function getCallMethod(): \BumbleDocGen\LanguageHandler\Php\Parser\Entity\MethodEntity;

Parameters: not specified

Return value: \BumbleDocGen\LanguageHandler\Php\Parser\Entity\MethodEntity

Throws:


public function getDescription(): string;

Parameters: not specified

Return value: string


public function getEndLine(): int;

Parameters: not specified

Return value: int

Throws:


public function getFileName(): string|null;

Parameters: not specified

Return value: string | null

Throws:


public function getFirstReturnValue(): mixed;

Parameters: not specified

Return value: mixed


public function getImplementingClass(): \BumbleDocGen\LanguageHandler\Php\Parser\Entity\ClassEntity;

Parameters: not specified

Return value: \BumbleDocGen\LanguageHandler\Php\Parser\Entity\ClassEntity


public function getImplementingClassName(): string;

Parameters: not specified

Return value: string

Throws:


public function getImplementingReflectionClass(): \Roave\BetterReflection\Reflection\ReflectionClass;

Parameters: not specified

Return value: \Roave\BetterReflection\Reflection\ReflectionClass

Throws:


public function getModifiersString(): string;

Parameters: not specified

Return value: string


public function getName(): string;

Parameters: not specified

Return value: string



public function getObjectId(): string;

Parameters: not specified

Return value: string


public function getParameters(): array;

Parameters: not specified

Return value: array


public function getParametersString(): string;

Parameters: not specified

Return value: string



public function getRootEntity(): \BumbleDocGen\LanguageHandler\Php\Parser\Entity\ClassEntity;

Parameters: not specified

Return value: \BumbleDocGen\LanguageHandler\Php\Parser\Entity\ClassEntity


public function getRootEntityCollection(): \BumbleDocGen\Core\Parser\Entity\RootEntityCollection;
Get parent collection of entities

Parameters: not specified

Return value: \BumbleDocGen\Core\Parser\Entity\RootEntityCollection


public function getShortName(): string;

Parameters: not specified

Return value: string


public function getStartColumn(): int;

Parameters: not specified

Return value: int

Throws:


public function getStartLine(): int;

Parameters: not specified

Return value: int

Throws:


public function isDynamic(): bool;

Parameters: not specified

Return value: bool



public function isPrivate(): bool;

Parameters: not specified

Return value: bool


public function isProtected(): bool;

Parameters: not specified

Return value: bool


public function isPublic(): bool;

Parameters: not specified

Return value: bool


public function isStatic(): bool;

Parameters: not specified

Return value: bool