fkooman\RemoteStorage\RemoteStorageServiceTest::getDeleteRequest PHP Method

getDeleteRequest() private method

private getDeleteRequest ( $urlPath, array $h = [] )
$h array
    private function getDeleteRequest($urlPath, array $h = array())
    {
        return new Request(array_merge($h, array('SERVER_NAME' => 'www.example.org', 'SERVER_PORT' => 80, 'HTTP_AUTHORIZATION' => 'Bearer test_token', 'QUERY_STRING' => '', 'REQUEST_URI' => '/index.php' . $urlPath, 'PATH_INFO' => $urlPath, 'SCRIPT_NAME' => '/index.php', 'REQUEST_METHOD' => 'DELETE', 'HTTP_ORIGIN' => 'https://foo.bar.example.org')));
    }