BumbleDocGen / Technical description of the project / Plugin system / OnGetProjectTemplatesDirs
OnGetProjectTemplatesDirs class:
namespace BumbleDocGen\Core\Plugin\Event\Renderer;
final class OnGetProjectTemplatesDirs extends \Symfony\Contracts\EventDispatcher\EventThis event occurs when all directories containing document templates are retrieved
- addTemplatesDir
- getTemplatesDirs
- isPropagationStopped - Is propagation stopped?
- stopPropagation - Stops the propagation of the event to further event listeners.
- # __construct | source code
public function __construct(array $templatesDirs);Parameters:
| Name | Type | Description |
|---|---|---|
| $templatesDirs | array | - |
- # addTemplatesDir | source code
public function addTemplatesDir(string $dirName): void;Parameters:
| Name | Type | Description |
|---|---|---|
| $dirName | string | - |
Return value: void
- # getTemplatesDirs | source code
public function getTemplatesDirs(): array;Parameters: not specified
Return value: array
- # isPropagationStopped | source code
// Implemented in Symfony\Contracts\EventDispatcher\Event
public function isPropagationStopped(): bool;Is propagation stopped?
Parameters: not specified
Return value: bool
- # stopPropagation | source code
// Implemented in Symfony\Contracts\EventDispatcher\Event
public function stopPropagation(): void;Stops the propagation of the event to further event listeners.
Parameters: not specified
Return value: void