URL Shortener 1.0
A Laravel-based URL shortener application
Chargement...
Recherche...
Aucune correspondance
Référence de la classe App\Policies\ShortUrlPolicy
Graphe de collaboration de App\Policies\ShortUrlPolicy:

Fonctions membres publiques

 viewAny (User $user)
 Determine whether the user can view any models.
 
 view (User $user, ShortUrl $shortUrl)
 Determine whether the user can view the model.
 
 create (User $user)
 Determine whether the user can create models.
 
 update (User $user, ShortUrl $shortUrl)
 Determine whether the user can update the model.
 
 delete (User $user, ShortUrl $shortUrl)
 Determine whether the user can delete the model.
 
 restore (User $user, ShortUrl $shortUrl)
 Determine whether the user can restore the model.
 
 forceDelete (User $user, ShortUrl $shortUrl)
 Determine whether the user can permanently delete the model.
 

Description détaillée

Définition à la ligne 9 du fichier ShortUrlPolicy.php.

Documentation des fonctions membres

◆ create()

App\Policies\ShortUrlPolicy::create ( User  $user)

Determine whether the user can create models.

Définition à la ligne 30 du fichier ShortUrlPolicy.php.

◆ delete()

App\Policies\ShortUrlPolicy::delete ( User  $user,
ShortUrl  $shortUrl 
)

Determine whether the user can delete the model.

Définition à la ligne 46 du fichier ShortUrlPolicy.php.

◆ forceDelete()

App\Policies\ShortUrlPolicy::forceDelete ( User  $user,
ShortUrl  $shortUrl 
)

Determine whether the user can permanently delete the model.

Définition à la ligne 62 du fichier ShortUrlPolicy.php.

◆ restore()

App\Policies\ShortUrlPolicy::restore ( User  $user,
ShortUrl  $shortUrl 
)

Determine whether the user can restore the model.

Définition à la ligne 54 du fichier ShortUrlPolicy.php.

◆ update()

App\Policies\ShortUrlPolicy::update ( User  $user,
ShortUrl  $shortUrl 
)

Determine whether the user can update the model.

Définition à la ligne 38 du fichier ShortUrlPolicy.php.

◆ view()

App\Policies\ShortUrlPolicy::view ( User  $user,
ShortUrl  $shortUrl 
)

Determine whether the user can view the model.

Définition à la ligne 22 du fichier ShortUrlPolicy.php.

◆ viewAny()

App\Policies\ShortUrlPolicy::viewAny ( User  $user)

Determine whether the user can view any models.

Définition à la ligne 14 du fichier ShortUrlPolicy.php.