PHP Class WellCommerce\Bundle\DoctrineBundle\EventListener\CacheInvalidatorSubscriber

Author: Adam Piotrowski ([email protected])
Inheritance: implements Doctrine\Common\EventSubscriber
Show file Open project: wellcommerce/wellcommerce

Protected Properties

Property Type Description
$cachePool Cache\Taggable\TaggablePoolInterface

Public Methods

Method Description
__construct ( Cache\Taggable\TaggablePoolInterface $cachePool ) CacheInvalidatorSubscriber constructor.
getSubscribedEvents ( )
onFlush ( Doctrine\ORM\Event\OnFlushEventArgs $args )

Method Details

__construct() public method

CacheInvalidatorSubscriber constructor.
public __construct ( Cache\Taggable\TaggablePoolInterface $cachePool )
$cachePool Cache\Taggable\TaggablePoolInterface

getSubscribedEvents() public method

public getSubscribedEvents ( )

onFlush() public method

public onFlush ( Doctrine\ORM\Event\OnFlushEventArgs $args )
$args Doctrine\ORM\Event\OnFlushEventArgs

Property Details

$cachePool protected property

protected TaggablePoolInterface,Cache\Taggable $cachePool
return Cache\Taggable\TaggablePoolInterface