public function __construct(array $values = array()) { $this->type = FCGI::PARAMS; $this->values = $values; $this->setContentData($this->packPayload()); }
/** * Constructs a request * * @param array $keys List of keys to receive */ public function __construct(array $keys = array()) { parent::__construct(array_fill_keys($keys, '')); $this->type = FCGI::GET_VALUES; }