PHP Class PhpSpec\Listener\MethodNotFoundListener

Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Mostrar archivo Open project: phpspec/phpspec

Public Methods

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

Private Methods

Method Description
checkIfMethodNameAllowed ( $methodName )
writeWrongMethodNameMessage ( )

Method Details

__construct() public method

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 method

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

afterSuite() public method

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

getSubscribedEvents() public static method

public static getSubscribedEvents ( )