![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/demo.cartinsight.co/vendor/orchestra/canvas/storage/laravel/ |
<?php namespace {{ namespace }}; use Illuminate\Auth\Access\Response; use {{ namespacedModel }}; use {{ namespacedUserModel }}; class {{ class }} { /** * Determine whether the user can view any models. */ public function viewAny({{ user }} $user): bool { // } /** * Determine whether the user can view the model. */ public function view({{ user }} $user, {{ model }} ${{ modelVariable }}): bool { // } /** * Determine whether the user can create models. */ public function create({{ user }} $user): bool { // } /** * Determine whether the user can update the model. */ public function update({{ user }} $user, {{ model }} ${{ modelVariable }}): bool { // } /** * Determine whether the user can delete the model. */ public function delete({{ user }} $user, {{ model }} ${{ modelVariable }}): bool { // } /** * Determine whether the user can restore the model. */ public function restore({{ user }} $user, {{ model }} ${{ modelVariable }}): bool { // } /** * Determine whether the user can permanently delete the model. */ public function forceDelete({{ user }} $user, {{ model }} ${{ modelVariable }}): bool { // } }