Example #1
0
 /**
  * Queue all namespaces for processing.
  */
 protected function queueNamespaces()
 {
     if (!isset($this->templates['namespace'])) {
         return false;
     }
     foreach ($this->project->getNamespaces() as $namespace) {
         $parameters = array('namespace' => $namespace, 'classes' => $this->project->getNamespaceClasses($namespace), 'interfaces' => $this->project->getNamespaceInterfaces($namespace), 'exceptions' => $this->project->getNamespaceExceptions($namespace));
         $this->genry->addToQueue($this->templates['namespace'], $parameters, $this->outputDir . str_replace(NS, DS, $namespace) . '.namespace.html');
     }
 }