PHP Class Carew\Event\Listener\Metadata\Optimization

Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Show file Open project: carew/carew Class Usage Examples

Public Methods

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

Private Methods

Method Description
onApi ( Document $document )
onPost ( Document $document )

Method Details

__construct() public method

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

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

onDocument() public method

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