Protocol\FCGI\Record\EndRequest::__construct PHP Метод

__construct() публичный Метод

public __construct ( $protocolStatus = FCGI::REQUEST_COMPLETE, $appStatus, $reserved = '' )
    public function __construct($protocolStatus = FCGI::REQUEST_COMPLETE, $appStatus = 0, $reserved = '')
    {
        $this->type = FCGI::END_REQUEST;
        $this->protocolStatus = $protocolStatus;
        $this->appStatus = $appStatus;
        $this->reserved1 = $reserved;
        $this->setContentData($this->packPayload());
    }