src/ReflectableTrait.php
private function getReflectionAndClassObject()
    {
        if ($this->isCalledAfterOn) {

            $this->isCalledAfterOn = false;
            $classObj = $this->classObjOn;
            $reflection = $this->reflectionOn;

            unset($this->classObjOn);
            unset($this->reflectionOn);

            return [$reflection, $classObj];
        }

        return [$this->reflection, $this->classObj];
    }
private function getReflectionAndClassObject()
    {
        if ($this->isCalledAfterOn) {

            $this->isCalledAfterOn = false;
            $classObj = $this->classObjOn;
            $reflection = $this->reflectionOn;

            unset($this->classObjOn);
            unset($this->reflectionOn);

            return [$reflection, $classObj];
        }

        return [$this->reflection, $this->classObj];
    }
get the Reflection and ClassObject

@return array