Opis\Closure\SerializableClosure::getReflector PHP 메소드

getReflector() 공개 메소드

Get the reflector for closure
public getReflector ( ) : ReflectionClosure
리턴 ReflectionClosure
    public function getReflector()
    {
        if ($this->reflector === null) {
            $this->reflector = new ReflectionClosure($this->closure, $this->code);
            $this->code = null;
            $this->useVars = null;
        }
        return $this->reflector;
    }