コード例 #1
0
ファイル: Generator.php プロジェクト: michaldudek/genry-docs
 /**
  * Queue all classes for processing.
  */
 protected function queueClasses()
 {
     if (!isset($this->templates['class'])) {
         return false;
     }
     foreach ($this->project->getClasses() as $class) {
         $parameters = array('class' => $class, 'properties' => $class->getProperties($this->verbose), 'methods' => $class->getMethods($this->verbose), 'constants' => $class->getConstants($this->verbose));
         $this->genry->addToQueue($this->templates['class'], $parameters, $this->outputDir . str_replace(NS, DS, $class) . '.html');
     }
 }