getSubject() public method

public getSubject ( )
Example #1
0
 protected function createContext(Node\Example $example)
 {
     $function = $example->getFunction();
     $context = $function->getDeclaringClass()->newInstance();
     $context->setProphet(new Prophet\ObjectProphet(new LazyObject($example->getSubject()), $this->matchers, $this->unwrapper));
     return $context;
 }