mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-14 01:24:06 -08:00
22 lines
431 B
PHP
22 lines
431 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests;
|
|
|
|
use Illuminate\Foundation\Http\FormRequest;
|
|
|
|
abstract class Request extends FormRequest
|
|
{
|
|
protected $rules = [];
|
|
|
|
public function rules()
|
|
{
|
|
return $this->rules;
|
|
}
|
|
|
|
// public function response(array $errors)
|
|
// {
|
|
// $this->session->flash('errorMessages', $errors);
|
|
// return $this->redirector->back()->withErrors($errors)->withInput();
|
|
// }
|
|
}
|