BumbleDocGen / Technical description of the project / Renderer / DocumentedEntityWrapper
DocumentedEntityWrapper class:
namespace BumbleDocGen\Core\Renderer\Context;
final class DocumentedEntityWrapperWrapper for the entity that was requested for documentation
- getDocRender
- getDocUrl - Get the relative path to the document to be generated
- getDocumentTransformableEntity - Get entity that is allowed to be documented
- getEntityName
- getFileName - The name of the file to be generated
- getKey - Get document key
- getParentDocFilePath
- setParentDocFilePath
- # __construct | source code
public function __construct(\BumbleDocGen\Core\Renderer\Context\DocumentTransformableEntityInterface $documentTransformableEntity, \BumbleDocGen\Core\Cache\LocalCache\LocalObjectCache $localObjectCache, string $parentDocFilePath);Parameters:
| Name | Type | Description |
|---|---|---|
| $documentTransformableEntity | \BumbleDocGen\Core\Renderer\Context\DocumentTransformableEntityInterface | An entity that is allowed to be documented |
| $localObjectCache | \BumbleDocGen\Core\Cache\LocalCache\LocalObjectCache | - |
| $parentDocFilePath | string | The file in which the documentation of the entity was requested |
- # getDocRender | source code
public function getDocRender(): \BumbleDocGen\Core\Renderer\EntityDocRenderer\EntityDocRendererInterface;Parameters: not specified
Return value: \BumbleDocGen\Core\Renderer\EntityDocRenderer\EntityDocRendererInterface
- # getDocUrl | source code
public function getDocUrl(): string;Get the relative path to the document to be generated
Parameters: not specified
Return value: string
- # getDocumentTransformableEntity | source code
public function getDocumentTransformableEntity(): \BumbleDocGen\Core\Renderer\Context\DocumentTransformableEntityInterface;Get entity that is allowed to be documented
Parameters: not specified
Return value: \BumbleDocGen\Core\Renderer\Context\DocumentTransformableEntityInterface
- # getEntityName | source code
public function getEntityName(): string;Parameters: not specified
Return value: string
- # getFileName | source code
public function getFileName(): string;The name of the file to be generated
Parameters: not specified
Return value: string
- # getKey | source code
public function getKey(): string;Get document key
Parameters: not specified
Return value: string
- # getParentDocFilePath | source code
public function getParentDocFilePath(): string;Parameters: not specified
Return value: string
- # setParentDocFilePath | source code
public function setParentDocFilePath(string $parentDocFilePath): void;Parameters:
| Name | Type | Description |
|---|---|---|
| $parentDocFilePath | string | - |
Return value: void