/** * @param object $abc */ public function __construct($abc) { $this->abc = $abc; $this->config = $abc->getFromStorage('config'); $this->request = $abc->getFromStorage('Request'); $this->settings = $this->config['settings']; }
/** * @param object $abc */ public function __construct($abc) { $this->config = $abc->getConfig(); $this->router = $abc->getFromStorage('Router'); $this->request = $abc->getFromStorage('Request'); $this->parser = $abc->getFromStorage('RouteParser'); }
/** * @param object $abc */ public function __construct($abc) { $this->config = $abc->getFromStorage('config'); $this->router = $abc->getFromStorage('Router'); if (!empty($_SERVER['QUERY_STRING'])) { $this->GET = $this->parseQueryString(); } else { $this->GET = $this->parseRequestUri(); } }