1 | <?php |
||
19 | abstract class TeamManager |
||
|
|||
20 | { |
||
21 | /** |
||
22 | * @param Player $player |
||
23 | */ |
||
24 | public static function JoinTeam(Player $player) |
||
45 | |||
46 | public static function resetTeam(): void |
||
51 | |||
52 | /** |
||
53 | * @param Player $player |
||
54 | */ |
||
55 | abstract public static function addList(Player $player): void; |
||
56 | |||
57 | /** |
||
58 | * @param Player $player |
||
59 | */ |
||
60 | abstract public static function removeList(Player $player): void; |
||
61 | |||
62 | /** |
||
63 | * @param Player $player |
||
64 | * |
||
65 | * @return bool |
||
66 | */ |
||
67 | abstract public static function isJoined(Player $player): bool; |
||
68 | |||
69 | /** |
||
70 | * @return array |
||
71 | */ |
||
72 | abstract public static function getList(): array; |
||
73 | } |
||
74 |
This check examines a number of code elements and verifies that they conform to the given naming conventions.
You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.