public function __construct($name = NULL, array $data = array(), $dataName = '') { if (null == $this->bootstrap) { // Assign and instantiate in one step: $this->bootstrap = new Centurion_Application('testing', APPLICATION_PATH . '/configs/'); } parent::__construct($name, $data, $dataName); }
public function __construct($name = NULL, array $data = array(), $dataName = '') { if (null == $this->bootstrap) { // Assign and instantiate in one step: $this->bootstrap = new Centurion_Application(APPLICATION_ENV, Centurion_Config_Directory::loadConfig(APPLICATION_PATH . '/configs/', APPLICATION_ENV, true)); } parent::__construct($name, $data, $dataName); }
/** * Construct our Controller. * * @access public * @return void * */ public function __construct() { parent::__construct(); }
public function __construct() { $this->_helper = new Garp_Test_PHPUnit_Helper(); parent::__construct(); }