__construct() public method

Constructs a param request
public __construct ( array $values = [] )
$values array
Esempio n. 1
0
 /**
  * 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;
 }
 /**
  * Constructs a param request
  *
  * @param array $values
  */
 public function __construct(array $values = array())
 {
     parent::__construct($values);
     $this->type = FCGI::GET_VALUES_RESULT;
 }