PHP Класс PhpSpec\Event\MethodCallEvent

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

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

Метод Описание
__construct ( ExampleNode $example, mixed $subject, string $method, array $arguments, mixed $returnValue = null )
getArguments ( ) : array
getExample ( ) : ExampleNode
getMethod ( ) : string
getReturnValue ( ) : mixed
getSpecification ( ) : SpecificationNode
getSubject ( ) : mixed
getSuite ( ) : PhpSpec\Loader\Suite

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

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

public __construct ( ExampleNode $example, mixed $subject, string $method, array $arguments, mixed $returnValue = null )
$example PhpSpec\Loader\Node\ExampleNode
$subject mixed
$method string
$arguments array
$returnValue mixed

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

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

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

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

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

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

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

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

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

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

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

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

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

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