PHP Class Sulu\Component\CustomUrl\Document\Subscriber\InvalidateSubscriber

Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Show file Open project: sulu/sulu

Public Methods

Method Description
__construct ( Sulu\Component\CustomUrl\Manager\CustomUrlManagerInterface $manager )
getSubscribedEvents ( )
handlePersist ( Sulu\Component\DocumentManager\Event\PersistEvent $event ) Invalidate custom-urls for persisted pages.

Method Details

__construct() public method

public __construct ( Sulu\Component\CustomUrl\Manager\CustomUrlManagerInterface $manager )
$manager Sulu\Component\CustomUrl\Manager\CustomUrlManagerInterface

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

handlePersist() public method

Invalidate custom-urls for persisted pages.
public handlePersist ( Sulu\Component\DocumentManager\Event\PersistEvent $event )
$event Sulu\Component\DocumentManager\Event\PersistEvent