tethys/app/Http/Middleware/TrimStrings.php

26 lines
440 B
PHP
Raw Normal View History

2018-08-06 12:30:51 +00:00
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\TrimStrings as BaseTrimmer;
/**
* TrimStrings short summary.
*
* TrimStrings description.
*
* @version 1.0
* @author kaiarn
*/
class TrimStrings extends BaseTrimmer
{
/**
* The names of the attributes that should not be trimmed.
*
* @var array
*/
protected $except = [
'password',
'password_confirmation',
];
}