Constructor.
public __construct ( array $config = [] ) : void | ||
$config | array | Available configuration options are: - `'request'` _object|null_ - `'response'` _array_ - `'classes'` _array_ |
return | void |
/** * Constructor. Load the routes file and set the environment. * * @param array $config The default configuration, wherein the absolute path to the * routes file to load may be specified, using the `'routes'` key. */ public function __construct($config = array()) { $defaults = array('routes' => Libraries::get(true, 'path') . '/config/routes.php'); parent::__construct($config + $defaults); }
public function __construct(array $config = array()) { $this->setUp(); parent::__construct($config); }
public function __construct(array $config = array()) { parent::__construct($config + Libraries::get('li3_bot')); $this->_originalNick = $this->_nick; }
public function __construct($config) { parent::__construct($config); $this->_library = Libraries::get('li3_hierarchy'); return $this->_cacheDir = $this->_library['path'] . '/resources/tmp/cache'; }
/** * Load the routes file and set the environment. * * @param array $config The default configuration, wherein the absolute path to the routes file * to load may be specified, using the `'routes_file'` key. */ public function __construct($config = array()) { $defaults = array('routes_file' => LITHIUM_APP_PATH . '/config/routes.php'); parent::__construct($config + $defaults); }
/** * Class Constrcutor. * * @param string $config */ public function __construct($config = array()) { $this->template = strtolower(join('', array_slice(explode("\\", get_class($this)), -1))); parent::__construct($config); }