示例#1
0
 /**
  * Handle the factory hook.
  *
  * @param  \Docit\Core\Factory  $factory
  * @return void
  */
 public function handle(Factory $factory)
 {
     $factory->setConfig(array_replace_recursive($factory->config(), $this->config->get('docit.hooks.phpdoc')));
 }
示例#2
0
 /**
  * Handle the factory hook.
  *
  * @param  \Docit\Core\Factory  $factory
  * @return void
  */
 public function handle(Factory $factory)
 {
     $factory->setConfig(array_replace_recursive($factory->config(), $this->config->get('docit.hooks.filesystem.default_project_config')));
 }
示例#3
0
 public function handle(DocitFactory $docit)
 {
     $docit->setConfig(array_replace_recursive($docit->config(), $this->config->get('docit.hooks.github.default_project_config')));
 }