public function ban($timeseconds = null, $reason = null)
  {
    return $this->getParent()->clientBan($this->getId(), $timeseconds, $reason);
  }
public function ban($timeseconds = null, $reason = null)
  {
    return $this->getParent()->clientBan($this->getId(), $timeseconds, $reason);
  }
public function ban ( $ timeseconds = null , $ reason = null ) { return $ this -> getParent ( ) -> clientBan ( $ this -> getId ( ) , $ timeseconds , $ reason ) ; }
Bans the client from the server. Please note that this will create two separate
ban rules for the targeted clients IP address and his unique identifier.

@param  integer $timeseconds
@param  string  $reason
@return array
Bans the client from the server . Please note that this will create two separate ban rules for the targeted clients IP address and his unique identifier .