public function import() { parent::scan(); $this->model->addInternalPhpTypes(); $resolver = PHP_UML_Input_XMI_Builder::getResolver(); $resolver->resolve($this->model->packages, array($this->model->packages)); }
public function import() { if (empty($this->parser)) { $this->parser = new PHP_UML_Input_PHP_ParserImpl($this->model, $this->parserOptions); } parent::scan(); $resolver = PHP_UML_Input_PHP_ParserImpl::getResolver(); $resolver->resolve($this->model->packages, array($this->model->packages)); }
private function setInputPhpParserOptions() { $options = new PHP_UML_Input_PHP_ParserOptions(); $options->keepDocblocks = $this->docblocks; $options->keepDollar = $this->dollar; $options->skipInternal = !$this->showInternal; $options->onlyApi = $this->onlyApi; $options->strict = $this->pureObject; $this->importer->setParserOptions($options); }