1 | <?php |
||
9 | class ResourceRequest extends FormRequest |
||
10 | { |
||
11 | public function authorize() |
||
15 | |||
16 | public function rules() |
||
20 | |||
21 | /** |
||
22 | * Retrieves the resource class name based on the route parameter. |
||
23 | */ |
||
24 | public function getResource(): string |
||
35 | |||
36 | /** |
||
37 | * Returns the string representation of the underlying model. |
||
38 | */ |
||
39 | public function getResourceModel(): string |
||
45 | |||
46 | /** |
||
47 | * Creates a new instance of the underlying model. |
||
48 | */ |
||
49 | public function newResourceModel(): Model |
||
55 | |||
56 | public function identifier() |
||
60 | } |
||
61 |