Skip to content

Latest commit

 

History

History
289 lines (196 loc) · 7.15 KB

OnLoadEntityDocPluginContent.md

File metadata and controls

289 lines (196 loc) · 7.15 KB

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


namespace BumbleDocGen\Core\Plugin\Event\Renderer;

final class OnLoadEntityDocPluginContent extends \Symfony\Contracts\EventDispatcher\Event
Called when entity documentation is generated (plugin content loading)

See:

Initialization methods:

  1. __construct

Methods:

  1. addBlockContentPluginResult
  2. getBlockContent
  3. getBlockContentPluginResults
  4. getBlockType
  5. getEntity
  6. isPropagationStopped - Is propagation stopped?
  7. stopPropagation - Stops the propagation of the event to further event listeners.

Method details:

public function __construct(string $blockContent, \BumbleDocGen\Core\Parser\Entity\RootEntityInterface $entity, string $blockType);

Parameters:

Name Type Description
$blockContent string -
$entity \BumbleDocGen\Core\Parser\Entity\RootEntityInterface -
$blockType string -

public function addBlockContentPluginResult(string $pluginResult): void;

Parameters:

Name Type Description
$pluginResult string -

Return value: void


public function getBlockContent(): string;

Parameters: not specified

Return value: string


public function getBlockContentPluginResults(): array;

Parameters: not specified

Return value: array


public function getBlockType(): string;

Parameters: not specified

Return value: string


public function getEntity(): \BumbleDocGen\Core\Parser\Entity\RootEntityInterface;

Parameters: not specified

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


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