PHPSpec2\Prophet\ObjectProphet::getWrappedSubject PHP Method

getWrappedSubject() public method

public getWrappedSubject ( )
    public function getWrappedSubject()
    {
        if (is_object($this->subject) && $this->subject instanceof LazySubjectInterface) {
            $this->subject = $this->subject->getInstance();
        }
        return $this->subject;
    }