Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/vendor/voku/.././laravel/sanctum/src
الملفات الموجودة في هذا الـ Path:
.
..
Console
Contracts
Events
Exceptions
Guard.php
HasApiTokens.php
Http
NewAccessToken.php
PersonalAccessToken.php
Sanctum.php
SanctumServiceProvider.php
TransientToken.php

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

<?php

namespace Laravel\Sanctum;

use Laravel\Sanctum\Contracts\HasAbilities;

class TransientToken implements HasAbilities
{
    /**
     * Determine if the token has a given ability.
     *
     * @param  string  $ability
     * @return bool
     */
    public function can($ability)
    {
        return true;
    }

    /**
     * Determine if the token is missing a given ability.
     *
     * @param  string  $ability
     * @return bool
     */
    public function cant($ability)
    {
        return false;
    }
}