PHP Class Carew\Event\Listener\Metadata\Optimization

Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Afficher le fichier Open project: carew/carew Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $permalinkFormat = '%year%/%month%/%day%/%slug%.html', Path $path = null )
getSubscribedEvents ( )
onDocument ( CarewEvent $event )

Private Methods

Méthode Description
onApi ( Document $document )
onPost ( Document $document )

Method Details

__construct() public méthode

public __construct ( $permalinkFormat = '%year%/%month%/%day%/%slug%.html', Path $path = null )
$path Carew\Helper\Path

getSubscribedEvents() public static méthode

public static getSubscribedEvents ( )

onDocument() public méthode

public onDocument ( CarewEvent $event )
$event Carew\Event\CarewEvent