is() публичный Метод

Start a chain, to check if the given authority has a certain role.
public is ( Model $authority ) : ChecksRole
$authority Illuminate\Database\Eloquent\Model
Результат Silber\Bouncer\Conductors\ChecksRole
Пример #1
0
 /**
  * Start a chain, to check if the given user has a certain role.
  *
  * @param \Illuminate\Database\Eloquent\Model $user
  * @return \Silber\Bouncer\Conductors\ChecksRole 
  * @static 
  */
 public static function is($user)
 {
     return \Silber\Bouncer\Bouncer::is($user);
 }