Example #1
0
 public function __construct(Jail $plugin, $jail, Position $pos)
 {
     $this->plugin = $plugin;
     $this->jail = $jail;
     $this->pos = $pos;
     parent::__construct($plugin);
 }
 public function __construct(Jail $plugin, Player $player, $jail)
 {
     $this->plugin = $plugin;
     $this->player = $player;
     $this->jail = $jail;
     parent::__construct($plugin);
 }
Example #3
0
 public function __construct(Jail $plugin, Player $player, $jail, $minutes, $reason)
 {
     $this->plugin = $plugin;
     $this->player = $player;
     $this->jail = $jail;
     $this->minutes = (int) $minutes;
     $this->reason = $reason;
     parent::__construct($plugin);
 }
Example #4
0
 public function __construct(Jail $plugin, $channel)
 {
     $this->plugin = $plugin;
     $this->channel = $channel;
     parent::__construct($plugin);
 }