public function __construct() { $this->view = View::getInstance(); $this->session = Session::getInstance(); $this->redirect = Redirect::getInstance(); $this->validation = Validation::getInstance(); $this->auth = Auth::getInstance(); }
/** * @param $path * @return $this * @var \SSFrame\Redirect */ public static function to($path) { return \SSFrame\Redirect::getInstance()->to($path); }