Skip to content

Latest commit

 

History

History
201 lines (133 loc) · 4.53 KB

OnGetProjectTemplatesDirs.md

File metadata and controls

201 lines (133 loc) · 4.53 KB

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


namespace BumbleDocGen\Core\Plugin\Event\Renderer;

final class OnGetProjectTemplatesDirs extends \Symfony\Contracts\EventDispatcher\Event
This event occurs when all directories containing document templates are retrieved

Initialization methods:

  1. __construct

Methods:

  1. addTemplatesDir
  2. getTemplatesDirs
  3. isPropagationStopped - Is propagation stopped?
  4. stopPropagation - Stops the propagation of the event to further event listeners.

Method details:

public function __construct(array $templatesDirs);

Parameters:

Name Type Description
$templatesDirs array -

public function addTemplatesDir(string $dirName): void;

Parameters:

Name Type Description
$dirName string -

Return value: void


public function getTemplatesDirs(): array;

Parameters: not specified

Return value: array


// Implemented in Symfony\Contracts\EventDispatcher\Event

public function isPropagationStopped(): bool;
Is propagation stopped?

Parameters: not specified

Return value: bool


// 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