/** * Constructor * * @access public * @param \Pimple\Container $container */ public function __construct(Container $container, array $server = array(), array $get = array(), array $post = array(), array $files = array(), array $cookies = array()) { parent::__construct($container); $this->server = empty($server) ? $_SERVER : $server; $this->get = empty($get) ? $_GET : $get; $this->post = empty($post) ? $_POST : $post; $this->files = empty($files) ? $_FILES : $files; $this->cookies = empty($cookies) ? $_COOKIE : $cookies; }
/** * Constructor * * @access public * @param \Pimple\Container $container */ public function __construct(Container $container) { parent::__construct($container); $this->transports = new Container(); }
/** * Constructor * * @access public * @param \Pimple\Container $container */ public function __construct(Container $container) { parent::__construct($container); $this->classes = new Container(); }