restore composer.json, add mysqli extension
This commit is contained in:
21
app/Http/Requests/Dashboard/File/Store.php
Executable file
21
app/Http/Requests/Dashboard/File/Store.php
Executable file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Requests\Dashboard\File;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class Store extends FormRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
'file' => 'required|mimes:jpg,png,jpeg'
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user