Skip to content

Latest commit

 

History

History
230 lines (148 loc) · 5.73 KB

DocumentTransformableEntityInterface.md

File metadata and controls

230 lines (148 loc) · 5.73 KB

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


namespace BumbleDocGen\Core\Renderer\Context;

interface DocumentTransformableEntityInterface
Interface for entities that can be generated into documents

Methods:

  1. cursorToDocAttributeLinkFragment
  2. documentCreationAllowed
  3. entityCacheIsOutdated
  4. getDocRender
  5. getName
  6. getRootEntityCollection
  7. getShortName

Method details:

public function cursorToDocAttributeLinkFragment(string $cursor, bool $isForDocument = true): string;

Parameters:

Name Type Description
$cursor string -
$isForDocument bool -

Return value: string


public function documentCreationAllowed(): bool;

Parameters: not specified

Return value: bool


public function entityCacheIsOutdated(): bool;

Parameters: not specified

Return value: bool


public function getDocRender(): \BumbleDocGen\Core\Renderer\EntityDocRenderer\EntityDocRendererInterface;

Parameters: not specified

Return value: \BumbleDocGen\Core\Renderer\EntityDocRenderer\EntityDocRendererInterface


public function getName(): string;

Parameters: not specified

Return value: string


public function getRootEntityCollection(): \BumbleDocGen\Core\Parser\Entity\RootEntityCollection;

Parameters: not specified

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


public function getShortName(): string;

Parameters: not specified

Return value: string