コード例 #1
0
ファイル: Storage.php プロジェクト: sweetcode/Nitrapi-PHP
 public function __construct(Nitrapi $api, $id)
 {
     parent::__construct($api, $id);
 }
コード例 #2
0
ファイル: Gameserver.php プロジェクト: sweetcode/Nitrapi-PHP
 public function __construct(Nitrapi &$api, &$data)
 {
     parent::__construct($api, $data);
     $this->info = $this->getApi()->dataGet("services/" . $this->getId() . "/gameservers");
 }