Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
TrustHosts
n/a
0 / 0
n/a
0 / 0
1
n/a
0 / 0
 hosts
n/a
0 / 0
n/a
0 / 0
1
1<?php
2
3namespace App\Http\Middleware;
4
5use Illuminate\Http\Middleware\TrustHosts as Middleware;
6
7/**
8 * @codeCoverageIgnore
9 */
10class TrustHosts extends Middleware
11{
12    /**
13     * Get the host patterns that should be trusted.
14     *
15     * @return array
16     */
17    public function hosts()
18    {
19        return [
20            $this->allSubdomainsOfApplicationUrl(),
21        ];
22    }
23}