Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
namespace Laravel\Sanctum\Contracts;
4
 
5
interface HasAbilities
6
{
7
    /**
8
     * Determine if the token has a given ability.
9
     *
10
     * @param  string  $ability
11
     * @return bool
12
     */
13
    public function can($ability);
14
 
15
    /**
16
     * Determine if the token is missing a given ability.
17
     *
18
     * @param  string  $ability
19
     * @return bool
20
     */
21
    public function cant($ability);
22
}