PHP Class Elcodi\Store\CoreBundle\EventListener\StoreUnavailableEventListener

Inheritance: implements Symfony\Component\Security\Http\Firewall\ListenerInterface
Mostrar archivo Open project: elcodi/bamboo

Public Methods

Method Description
__construct ( Elcodi\Component\Store\Entity\Interfaces\StoreInterface $store, string $message = '' ) Constructor
handle ( GetResponseEvent $event ) Throws an exception when the store is not available

Method Details

__construct() public method

Constructor
public __construct ( Elcodi\Component\Store\Entity\Interfaces\StoreInterface $store, string $message = '' )
$store Elcodi\Component\Store\Entity\Interfaces\StoreInterface Store
$message string Error message

handle() public method

Throws an exception when the store is not available
public handle ( GetResponseEvent $event )
$event Symfony\Component\HttpKernel\Event\GetResponseEvent Event