public function sapiServerRequest(
        $server = null,
        $get = null,
        $post = null,
        $cookie = null,
        $files = null,
        $attributes = array()
    ) {
        return new Messages\Message\Request\ServerRequest\SAPI(
            $this,
            $server !== null ? $server : $_SERVER,
            $get !== null ? $get : $_GET,
            $post !== null ? $post : $_POST,
            $cookie !== null ? $cookie : $_COOKIE,
            $files !== null ? $files : $_FILES,
            $attributes
        );
    }
public function sapiServerRequest(
        $server = null,
        $get = null,
        $post = null,
        $cookie = null,
        $files = null,
        $attributes = array()
    ) {
        return new Messages\Message\Request\ServerRequest\SAPI(
            $this,
            $server !== null ? $server : $_SERVER,
            $get !== null ? $get : $_GET,
            $post !== null ? $post : $_POST,
            $cookie !== null ? $cookie : $_COOKIE,
            $files !== null ? $files : $_FILES,
            $attributes
        );
    }
public function sapiServerRequest ( $ server = null , $ get = null , $ post = null , $ cookie = null , $ files = null , $ attributes = array ( ) ) { return new Messages \ Message \ Request \ ServerRequest \ SAPI ( $ this , $ server !== null ? $ server : $ _SERVER , $ get !== null ? $ get : $ _GET , $ post !== null ? $ post : $ _POST , $ cookie !== null ? $ cookie : $ _COOKIE , $ files !== null ? $ files : $ _FILES , $ attributes ) ; }
Build a server request from SAPI,
with the ability to override individual attributes
@param array|null $server
@param array|null $get
@param array|null $post
@param array|null $cookie
@param array|null $files
@param array      $attributes
@return Messages\Message\Request\ServerRequest\SAPI
Build a server request from SAPI with the ability to override individual attributes