Esempio n. 1
0
 function can($feature)
 {
     $user = $this->user(false) ?: Guest::singleton();
     return (bool) $user->can($feature);
 }