Inheritance: extends Go\Core\AspectKernel
 public function rebuild()
 {
     ContractApplication::getInstance()->init(array('debug' => $this->config['debug'], 'appDir' => $this->config['appDir'], 'cacheDir' => $this->config['cacheDir']));
 }
示例#2
0
<?php

/**
 * PHP Deal framework
 *
 * @copyright Copyright 2014, Lisachenko Alexander <*****@*****.**>
 *
 * This source file is subject to the license that is bundled
 * with this source code in the file LICENSE.
 */
use PhpDeal\ContractApplication;
ContractApplication::getInstance()->init(array('debug' => true, 'appDir' => __DIR__, 'cacheDir' => __DIR__ . '/cache/'));