Table of Contents
Interfaces
- EventSubscriberInterface
- An EventSubscriber knows itself what events it is interested in.
Properties
-
$events
: mixed
-
$hooks
: mixed
-
$startedTests
: mixed
-
$unsuccessfulTests
: mixed
Methods
-
afterClass()
: mixed
-
beforeClass()
: mixed
-
getSubscribedEvents()
: mixed
-
runHooks()
: mixed
$events
public
static mixed
$events
= [\Codeception\Events::SUITE_BEFORE => 'beforeClass', \Codeception\Events::SUITE_AFTER => ['afterClass', 100]]
$hooks
protected
mixed
$hooks
= []
$startedTests
protected
mixed
$startedTests
= []
$unsuccessfulTests
protected
mixed
$unsuccessfulTests
= []
afterClass()
public
afterClass(SuiteEvent $e) : mixed
Parameters
-
$e
: SuiteEvent
-
beforeClass()
public
beforeClass(SuiteEvent $e) : mixed
Parameters
-
$e
: SuiteEvent
-
getSubscribedEvents()
public
static getSubscribedEvents() : mixed
runHooks()
protected
runHooks(mixed $hookName) : mixed
Parameters
-
$hookName
: mixed
-