Authorizable.php 310 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 iterable|string $abilities
  9. * @param array|mixed $arguments
  10. * @return bool
  11. */
  12. public function can($abilities, $arguments = []);
  13. }