BumbleDocGen / Technical description of the project / Plugin system / OnGettingResourceLink
OnGettingResourceLink class:
namespace BumbleDocGen\Core\Plugin\Event\Renderer;
final class OnGettingResourceLink extends \Symfony\Contracts\EventDispatcher\EventEvent occurs when a reference to an entity (resource) is received
- getResourceName
- getResourceUrl
- isPropagationStopped - Is propagation stopped?
- setResourceUrl
- stopPropagation - Stops the propagation of the event to further event listeners.
- # __construct | source code
public function __construct(string $resourceName);Parameters:
| Name | Type | Description |
|---|---|---|
| $resourceName | string | - |
- # getResourceName | source code
public function getResourceName(): string;Parameters: not specified
Return value: string
- # getResourceUrl | source code
public function getResourceUrl(): string|null;Parameters: not specified
- # isPropagationStopped | source code
// Implemented in Symfony\Contracts\EventDispatcher\Event
public function isPropagationStopped(): bool;Is propagation stopped?
Parameters: not specified
Return value: bool
- # setResourceUrl | source code
public function setResourceUrl(string|null $resourceUrl): void;Parameters:
| Name | Type | Description |
|---|---|---|
| $resourceUrl | string | null | - |
Return value: void
- # 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