/** * Starts the new action */ public function Controller() { // Restore the session (or create a new one if this is the first time) $this->session = Session::restoreSession(); }
public function View($viewPath, $channel = null) { $this->path = $viewPath; $this->channel = $channel; $this->session = Session::restoreSession(); }