PhpSpec\Event\MethodCallEvent::__construct PHP Method

__construct() public method

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
    public function __construct(ExampleNode $example, $subject, $method, $arguments, $returnValue = null)
    {
        $this->example = $example;
        $this->subject = $subject;
        $this->method = $method;
        $this->arguments = $arguments;
        $this->returnValue = $returnValue;
    }