<?php namespace Laravel\Sanctum\Contracts; interface HasAbilities { /** * Determine if the token has a given ability. * * @param string $ability * @return bool */ public function can($ability); /** * Determine if the token is missing a given ability. * * @param string $ability * @return bool */ public function cant($ability); }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
HasAbilities.php | File | 403 B | 0644 |
|
HasApiTokens.php | File | 1.09 KB | 0644 |
|