PHP Class Goetas\Twital\EventSubscriber\CustomNamespaceSubscriber

Author: Asmir Mustafic ([email protected])
Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
显示文件 Open project: goetas/twital

Protected Properties

Property Type Description
$customNamespaces array

Public Methods

Method Description
__construct ( array $customNamespaces )
addCustomNamespace ( TemplateEvent $event )
getSubscribedEvents ( )
removeCustomNamespaces ( SourceEvent $event )

Method Details

__construct() public method

public __construct ( array $customNamespaces )
$customNamespaces array

addCustomNamespace() public method

public addCustomNamespace ( TemplateEvent $event )
$event Goetas\Twital\EventDispatcher\TemplateEvent

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

removeCustomNamespaces() public method

public removeCustomNamespaces ( SourceEvent $event )
$event Goetas\Twital\EventDispatcher\SourceEvent

Property Details

$customNamespaces protected_oe property

protected array $customNamespaces
return array