isOwner() public method

Checks if the user is a team owner.
public isOwner ( ) : boolean
return boolean True if the user is a team owner.
示例#1
0
 public function testIsOwner()
 {
     $is = $this->faker->boolean;
     $user = new User($this->client, ['is_owner' => $is]);
     $this->assertEquals($is, $user->isOwner());
 }