PAGI\Client\Impl\ClientImpl::__construct PHP Method

__construct() protected method

Note: The client accepts an array with options. The available options are stdin => Optional. If set, should contain an already open stream from where the client will read data (useful to make it interact with fastagi servers or even text files to mock stuff when testing). If not set, stdin will be used by the client. stdout => Optional. Same as stdin but for the output of the client.
protected __construct ( array $options = [] ) : void
$options array Optional properties.
return void
    protected function __construct(array $options = array())
    {
        $this->options = $options;
        $this->logger = new NullLogger();
        $this->open();
    }