src/ReflectableTrait.php
public function on($classObj)
    {
        $this->classObjOn = $classObj;
        $this->reflectionOn = new ReflectionClass($classObj);
        $this->isCalledAfterOn = true;

        return $this;
    }
public function on($classObj)
    {
        $this->classObjOn = $classObj;
        $this->reflectionOn = new ReflectionClass($classObj);
        $this->isCalledAfterOn = true;

        return $this;
    }
Getting the reflection.

@param $classObj Object of the class the reflection to be created.

@return $this