PHP Class Matthias\ProjectBundle\EventListener\RequestListener

Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Exibir arquivo Open project: matthiasnoback/random-disaster-bundle

Public Methods

Method Description
__construct ( $startAt, $deadline, Matthias\ProjectBundle\Generator\GeneratorInterface $generator )
getSubscribedEvents ( )
onRequest ( GetResponseEvent $event )

Private Methods

Method Description
calculateCurrentProbabilityForDisaster ( )

Method Details

__construct() public method

public __construct ( $startAt, $deadline, Matthias\ProjectBundle\Generator\GeneratorInterface $generator )
$generator Matthias\ProjectBundle\Generator\GeneratorInterface

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

onRequest() public method

public onRequest ( GetResponseEvent $event )
$event Symfony\Component\HttpKernel\Event\GetResponseEvent