PhpSpec\Wrapper\Subject::__construct PHP Method

__construct() public method

public __construct ( mixed $subject, Wrapper $wrapper, WrappedObject $wrappedObject, Caller $caller, SubjectWithArrayAccess $arrayAccess, ExpectationFactory $expectationFactory )
$subject mixed
$wrapper Wrapper
$wrappedObject PhpSpec\Wrapper\Subject\WrappedObject
$caller PhpSpec\Wrapper\Subject\Caller
$arrayAccess PhpSpec\Wrapper\Subject\SubjectWithArrayAccess
$expectationFactory PhpSpec\Wrapper\Subject\ExpectationFactory
    public function __construct($subject, Wrapper $wrapper, WrappedObject $wrappedObject, Caller $caller, SubjectWithArrayAccess $arrayAccess, ExpectationFactory $expectationFactory)
    {
        $this->subject = $subject;
        $this->wrapper = $wrapper;
        $this->wrappedObject = $wrappedObject;
        $this->caller = $caller;
        $this->arrayAccess = $arrayAccess;
        $this->expectationFactory = $expectationFactory;
    }