PATH:
home
/
lab2454c
/
healthvalidate.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Console
/
stubs
<?php namespace {{ namespace }}; use Illuminate\Auth\Access\HandlesAuthorization; use {{ namespacedModel }}; use {{ namespacedUserModel }}; class {{ class }} { use HandlesAuthorization; /** * Determine whether the user can view any models. * * @param \{{ namespacedUserModel }} $user * @return \Illuminate\Auth\Access\Response|bool */ public function viewAny({{ user }} $user) { // } /** * Determine whether the user can view the model. * * @param \{{ namespacedUserModel }} $user * @param \{{ namespacedModel }} ${{ modelVariable }} * @return \Illuminate\Auth\Access\Response|bool */ public function view({{ user }} $user, {{ model }} ${{ modelVariable }}) { // } /** * Determine whether the user can create models. * * @param \{{ namespacedUserModel }} $user * @return \Illuminate\Auth\Access\Response|bool */ public function create({{ user }} $user) { // } /** * Determine whether the user can update the model. * * @param \{{ namespacedUserModel }} $user * @param \{{ namespacedModel }} ${{ modelVariable }} * @return \Illuminate\Auth\Access\Response|bool */ public function update({{ user }} $user, {{ model }} ${{ modelVariable }}) { // } /** * Determine whether the user can delete the model. * * @param \{{ namespacedUserModel }} $user * @param \{{ namespacedModel }} ${{ modelVariable }} * @return \Illuminate\Auth\Access\Response|bool */ public function delete({{ user }} $user, {{ model }} ${{ modelVariable }}) { // } /** * Determine whether the user can restore the model. * * @param \{{ namespacedUserModel }} $user * @param \{{ namespacedModel }} ${{ modelVariable }} * @return \Illuminate\Auth\Access\Response|bool */ public function restore({{ user }} $user, {{ model }} ${{ modelVariable }}) { // } /** * Determine whether the user can permanently delete the model. * * @param \{{ namespacedUserModel }} $user * @param \{{ namespacedModel }} ${{ modelVariable }} * @return \Illuminate\Auth\Access\Response|bool */ public function forceDelete({{ user }} $user, {{ model }} ${{ modelVariable }}) { // } }
[-] routes.stub
[edit]
[-] model.stub
[edit]
[-] model.pivot.stub
[edit]
[-] channel.stub
[edit]
[-] mail.stub
[edit]
[+]
..
[-] notification.stub
[edit]
[-] event.stub
[edit]
[-] listener-duck.stub
[edit]
[-] listener-queued-duck.stub
[edit]
[-] observer.stub
[edit]
[-] markdown-mail.stub
[edit]
[-] cast.stub
[edit]
[-] exception-report.stub
[edit]
[-] policy.stub
[edit]
[-] exception-render-report.stub
[edit]
[-] test.unit.stub
[edit]
[-] exception-render.stub
[edit]
[-] console.stub
[edit]
[-] test.stub
[edit]
[-] view-component.stub
[edit]
[-] policy.plain.stub
[edit]
[-] request.stub
[edit]
[-] observer.plain.stub
[edit]
[-] resource-collection.stub
[edit]
[-] markdown-notification.stub
[edit]
[-] maintenance-mode.stub
[edit]
[-] listener.stub
[edit]
[-] exception.stub
[edit]
[-] job.stub
[edit]
[-] job.queued.stub
[edit]
[-] rule.stub
[edit]
[-] markdown.stub
[edit]
[-] provider.stub
[edit]
[-] resource.stub
[edit]
[-] listener-queued.stub
[edit]