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

namespace Engelsystem\Http\Exceptions;

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