| Total Complexity | 3 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class DedicatedServersController extends AuthController |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * The DedicatedServersRepository instance. |
||
| 13 | * |
||
| 14 | * @var \Gameap\Repositories\DedicatedServersRepository |
||
| 15 | */ |
||
| 16 | public $repository; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * DedicatedServersController constructor. |
||
| 20 | * @param DedicatedServersRepository $repository |
||
| 21 | */ |
||
| 22 | public function __construct(DedicatedServersRepository $repository) |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param int $id |
||
| 31 | * @return array |
||
| 32 | */ |
||
| 33 | public function getIpList(int $id) |
||
| 34 | { |
||
| 35 | return $this->repository->getIpList($id); |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @param int $id |
||
| 40 | * @return array |
||
| 41 | */ |
||
| 42 | public function getBusyPorts(int $id) |
||
| 45 | } |
||
| 46 | } |