src/ReflectableTrait.php
private function checkClassObjAndReflectionProperties()
    {
        if ($this->isCalledAfterOn) {
            if ((!$this->classObjOn || !$this->reflectionOn)) {
                throw new NotFoundException("No class object reflected");
            }
        }
        elseif ((!$this->classObj || !$this->reflection)) {
            throw new NotFoundException("No class object reflected");
        }
    }
private function checkClassObjAndReflectionProperties()
    {
        if ($this->isCalledAfterOn) {
            if ((!$this->classObjOn || !$this->reflectionOn)) {
                throw new NotFoundException("No class object reflected");
            }
        }
        elseif ((!$this->classObj || !$this->reflection)) {
            throw new NotFoundException("No class object reflected");
        }
    }
$classObj and $reflection properties should be defined.

@throws NotFoundException