Ejemplo n.º 1
0
 /**
  * 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'));
 }
Ejemplo n.º 2
0
 /**
  * test values by key
  *
  * @expectedException        InvalidArgumentException
  */
 public function testArrayObjectException()
 {
     CCArr::object('test');
 }