summaryrefslogtreecommitdiff
path: root/src/Http/Exceptions/HttpTemporaryRedirect.php
blob: ece8d607c9a8cfdd23555752128b66a3bde6520e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

namespace Engelsystem\Http\Exceptions;

class HttpTemporaryRedirect extends HttpRedirect
{
    /**
     * @param string $url
     * @param array  $headers
     */
    public function __construct(
        string $url,
        array $headers = []
    ) {
        parent::__construct($url, 302, $headers);
    }
}