PHP Класс PhpSpec\Event\ExpectationEvent

Наследование: extends Symfony\Component\EventDispatcher\Event, implements EventInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( ExampleNode $example, PhpSpec\Matcher\Matcher $matcher, mixed $subject, string $method, array $arguments, integer $result = null, Exception $exception = null )
getArguments ( ) : array
getExample ( ) : ExampleNode
getException ( ) : Exception
getMatcher ( ) : PhpSpec\Matcher\Matcher
getMethod ( ) : string
getResult ( ) : integer
getSpecification ( ) : SpecificationNode
getSubject ( ) : mixed
getSuite ( ) : PhpSpec\Loader\Suite

Описание методов

__construct() публичный Метод

public __construct ( ExampleNode $example, PhpSpec\Matcher\Matcher $matcher, mixed $subject, string $method, array $arguments, integer $result = null, Exception $exception = null )
$example PhpSpec\Loader\Node\ExampleNode
$matcher PhpSpec\Matcher\Matcher
$subject mixed
$method string
$arguments array
$result integer
$exception Exception

getArguments() публичный Метод

public getArguments ( ) : array
Результат array

getExample() публичный Метод

public getExample ( ) : ExampleNode
Результат PhpSpec\Loader\Node\ExampleNode

getException() публичный Метод

public getException ( ) : Exception
Результат Exception

getMatcher() публичный Метод

public getMatcher ( ) : PhpSpec\Matcher\Matcher
Результат PhpSpec\Matcher\Matcher

getMethod() публичный Метод

public getMethod ( ) : string
Результат string

getResult() публичный Метод

public getResult ( ) : integer
Результат integer

getSpecification() публичный Метод

public getSpecification ( ) : SpecificationNode
Результат PhpSpec\Loader\Node\SpecificationNode

getSubject() публичный Метод

public getSubject ( ) : mixed
Результат mixed

getSuite() публичный Метод

public getSuite ( ) : PhpSpec\Loader\Suite
Результат PhpSpec\Loader\Suite