Ejemplo n.º 1
0
 /**
  * Parses an interface definition and adds it to the interfaces array.
  *
  * @param DocBlox_Reflection_TokenIterator $tokens Tokens to interpret with the
  *      pointer at the token to be processed.
  *
  * @return void
  */
 protected function processInterface(DocBlox_Reflection_TokenIterator $tokens)
 {
     $this->resetTimer('interface');
     $interface = new DocBlox_Reflection_Interface();
     $interface->setNamespace($this->active_namespace);
     $interface->setNamespaceAliases($this->namespace_aliases);
     $interface->setDefaultPackageName($this->getDefaultPackageName());
     $interface->parseTokenizer($tokens);
     $this->debugTimer('>> Processed interface ' . $interface->getName(), 'interface');
     $this->interfaces[$interface->getName()] = $interface;
 }