16 lines
310 B
PHP
16 lines
310 B
PHP
<?php
|
|
|
|
namespace Illuminate\Contracts\Auth\Access;
|
|
|
|
interface Authorizable
|
|
{
|
|
/**
|
|
* Determine if the entity has a given ability.
|
|
*
|
|
* @param iterable|string $abilities
|
|
* @param array|mixed $arguments
|
|
* @return bool
|
|
*/
|
|
public function can($abilities, $arguments = []);
|
|
}
|