21 lines
370 B
PHP
21 lines
370 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests\Parents;
|
|
|
|
use Illuminate\Foundation\Http\FormRequest;
|
|
|
|
class SignParentReportCardRequest extends FormRequest
|
|
{
|
|
public function authorize(): bool
|
|
{
|
|
return auth()->check();
|
|
}
|
|
|
|
public function rules(): array
|
|
{
|
|
return [
|
|
'signed_name' => ['required', 'string', 'max:255'],
|
|
];
|
|
}
|
|
}
|