Authorizable.php 297 B

123456789101112131415
  1. <?php
  2. namespace Illuminate\Contracts\Auth\Access;
  3. interface Authorizable
  4. {
  5. /**
  6. * Determine if the entity has a given ability.
  7. *
  8. * @param string $ability
  9. * @param array|mixed $arguments
  10. * @return bool
  11. */
  12. public function can($ability, $arguments = []);
  13. }