<?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);
}
Copyright © 2026 PT. Howden Insurance Brokers Indonesia. All rights reserved.
Authorised and regulated by Otoritas Jasa Keuangan (OJK).
Member of The Association of Indonesian Insurance & Reinsurance Brokers (APPARINDO).