Method | Description | |
---|---|---|
__construct ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, |
||
errorHandler ( integer $level, string $message, string $file, integer $line ) : boolean | Custom error handler. | |
getEventDispatcher ( ) | ||
runExample ( |
||
runSpecification ( |
Method | Description | |
---|---|---|
createContext ( |
||
createMockProphet ( $subject = null ) | ||
getExampleDependencies ( |
Method | Description | |
---|---|---|
getDependencies ( ReflectionFunctionAbstract $function, array $dependencies ) | ||
invoke ( $context, ReflectionFunctionAbstract $function, array $dependencies ) |
public __construct ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, |
||
$dispatcher | Symfony\Component\EventDispatcher\EventDispatcherInterface | |
$matchers | ||
$mocker | PHPSpec2\Mocker\MockerInterface | |
$unwrapper |
protected createContext ( |
||
$example |
protected getExampleDependencies ( |
||
$example |
public runExample ( |
||
$example |
public runSpecification ( |
||
$specification |