/** * @param FormatterInterface $formatter * @param string $workDir */ public function preCompileModels(FormatterInterface $formatter, $workDir) { $compiler = new Compiler($formatter, $workDir); return $compiler->preCompileModels(); }
/** * @param FormatterInterface $formatter * @param Document $document */ public function preCompileModels(FormatterInterface $formatter, Document $document) { $compiler = new Compiler($formatter, $document); $compiler->preCompileModels(); }