/** * CCRequest constructor * * @param CCRoute $route * @param CCIn_Instance $input */ public function __construct($route, $input = null) { // assign the route and input $this->route = $route; $this->input = $input; // create an object with default arguments $this->args = CCArr::object(ClanCats::$config->get('controller.default_args')); }
/** * test values by key * * @expectedException InvalidArgumentException */ public function testArrayObjectException() { CCArr::object('test'); }