public function __construct() { $rooter = new Rooter(); $this->controller = $rooter->get_controller(); $this->method = $rooter->get_method(); $this->params = $rooter->get_params(); }