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

Checks if current user is banned
public isBanned ( ) : boolean
Результат boolean
Пример #1
0
 /** @test */
 public function it_should_return_ban_info_from_profile()
 {
     $profile = ['is_write_banned' => true];
     $this->apiShouldReturnData($profile)->assertEquals($profile['is_write_banned'], $this->provider->isBanned());
 }