PHP Class PhpSpec\Listener\MethodNotFoundListener

Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Afficher le fichier Open project: phpspec/phpspec

Méthodes publiques

Méthode Description
__construct ( ConsoleIO $io, PhpSpec\Locator\ResourceManager $resources, GeneratorManager $generator, PhpSpec\Util\NameChecker $nameChecker )
afterExample ( ExampleEvent $event )
afterSuite ( SuiteEvent $event )
getSubscribedEvents ( )

Private Methods

Méthode Description
checkIfMethodNameAllowed ( $methodName )
writeWrongMethodNameMessage ( )

Method Details

__construct() public méthode

public __construct ( ConsoleIO $io, PhpSpec\Locator\ResourceManager $resources, GeneratorManager $generator, PhpSpec\Util\NameChecker $nameChecker )
$io PhpSpec\Console\ConsoleIO
$resources PhpSpec\Locator\ResourceManager
$generator PhpSpec\CodeGenerator\GeneratorManager
$nameChecker PhpSpec\Util\NameChecker

afterExample() public méthode

public afterExample ( ExampleEvent $event )
$event PhpSpec\Event\ExampleEvent

afterSuite() public méthode

public afterSuite ( SuiteEvent $event )
$event PhpSpec\Event\SuiteEvent

getSubscribedEvents() public static méthode

public static getSubscribedEvents ( )