PHP Class Matthias\ProjectBundle\EventListener\RequestListener

Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Afficher le fichier Open project: matthiasnoback/random-disaster-bundle

Méthodes publiques

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

Private Methods

Méthode Description
calculateCurrentProbabilityForDisaster ( )

Method Details

__construct() public méthode

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

getSubscribedEvents() public static méthode

public static getSubscribedEvents ( )

onRequest() public méthode

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