code: public function reflect($classObj)
      {
          $this->classObj = $classObj;
          $this->reflection = new ReflectionClass($this->classObj);
      }
docs: Getting the reflection.
  
  @param $classObj Object of the class the reflection to be created.