Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| VerifyCsrfToken | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | namespace App\Http\Middleware; |
| 4 | |
| 5 | use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware; |
| 6 | |
| 7 | class VerifyCsrfToken extends Middleware |
| 8 | { |
| 9 | /** |
| 10 | * The URIs that should be excluded from CSRF verification. |
| 11 | * |
| 12 | * @var array |
| 13 | */ |
| 14 | protected $except = [ |
| 15 | 'api/*' |
| 16 | ]; |
| 17 | } |