loadFactories() public method

Loads the symfony factories.
public loadFactories ( )
コード例 #1
0
ファイル: dmContext.php プロジェクト: rafix/diem
 /**
  * Loads the symfony factories.
  */
 public function loadFactories()
 {
     $this->reloadModuleManager();
     parent::loadFactories();
     $this->factories['response']->setIsHtmlForHuman(!dmConfig::isCli() && !$this->factories['request']->isXmlHttpRequest() && !$this->factories['request']->isFlashRequest() && $this->factories['response']->isHtml());
 }