Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/vendor/theseer/../egulias/.././unicodeveloper/.././nunomaduro/../mews/../maennchen/../theseer/../monolog/../stripe/.././async-aws/../myclabs/../laravel/sanctum/src/Contracts
الملفات الموجودة في هذا الـ Path:
.
..
HasAbilities.php
HasApiTokens.php

مشاهدة ملف: HasAbilities.php

<?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);
}