Exemplo n.º 1
0
 /**
  * This method does the work of "reflecting" the file
  *
  * Uses Zend\Code\Scanner\FileScanner to gather file information
  *
  * @return void
  */
 protected function reflect()
 {
     $scanner = new CachingFileScanner($this->filePath);
     $this->docComment = $scanner->getDocComment();
     $this->requiredFiles = $scanner->getIncludes();
     $this->classes = $scanner->getClassNames();
     $this->namespaces = $scanner->getNamespaces();
     $this->uses = $scanner->getUses();
 }