PhpSpec\Wrapper\Subject\Caller::__construct PHP Method

__construct() public method

public __construct ( WrappedObject $wrappedObject, ExampleNode $example, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, ExceptionFactory $exceptions, Wrapper $wrapper, PhpSpec\CodeAnalysis\AccessInspector $accessInspector )
$wrappedObject WrappedObject
$example PhpSpec\Loader\Node\ExampleNode
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$exceptions PhpSpec\Exception\ExceptionFactory
$wrapper PhpSpec\Wrapper\Wrapper
$accessInspector PhpSpec\CodeAnalysis\AccessInspector
    public function __construct(WrappedObject $wrappedObject, ExampleNode $example, Dispatcher $dispatcher, ExceptionFactory $exceptions, Wrapper $wrapper, AccessInspector $accessInspector)
    {
        $this->wrappedObject = $wrappedObject;
        $this->example = $example;
        $this->dispatcher = $dispatcher;
        $this->wrapper = $wrapper;
        $this->exceptionFactory = $exceptions;
        $this->accessInspector = $accessInspector;
    }