| @@ 68-97 (lines=30) @@ | ||
| 65 | * @param LoggerInterface $logger |
|
| 66 | * @param Time $timeHelper |
|
| 67 | */ |
|
| 68 | public function __construct( |
|
| 69 | $command, |
|
| 70 | $permission, |
|
| 71 | array $aliases = [], |
|
| 72 | $functionName, |
|
| 73 | $parameterDescription, |
|
| 74 | AdminGroups $adminGroupsHelper, |
|
| 75 | Connection $connection, |
|
| 76 | ChatNotification $chatNotification, |
|
| 77 | PlayerStorage $playerStorage, |
|
| 78 | LoggerInterface $logger, |
|
| 79 | Time $timeHelper |
|
| 80 | ) { |
|
| 81 | parent::__construct( |
|
| 82 | $command, |
|
| 83 | $permission, |
|
| 84 | $aliases, |
|
| 85 | $adminGroupsHelper, |
|
| 86 | $connection, |
|
| 87 | $chatNotification, |
|
| 88 | $playerStorage, |
|
| 89 | $logger, |
|
| 90 | $timeHelper |
|
| 91 | ); |
|
| 92 | ||
| 93 | $this->description = 'expansion_admin_chat.'.strtolower($functionName).'.description'; |
|
| 94 | $this->chatMessage = 'expansion_admin_chat.'.strtolower($functionName).'.msg'; |
|
| 95 | $this->functionName = $functionName; |
|
| 96 | $this->parameterDescription = $parameterDescription; |
|
| 97 | } |
|
| 98 | ||
| 99 | ||
| 100 | /** |
|
| @@ 77-108 (lines=32) @@ | ||
| 74 | * @param LoggerInterface $logger |
|
| 75 | * @param Time $timeHelper |
|
| 76 | */ |
|
| 77 | public function __construct( |
|
| 78 | $command, |
|
| 79 | $permission, |
|
| 80 | array $aliases = [], |
|
| 81 | $functionName, |
|
| 82 | $parameterLoginDescription, |
|
| 83 | $parameterReasonDescription, |
|
| 84 | AdminGroups $adminGroupsHelper, |
|
| 85 | Connection $connection, |
|
| 86 | ChatNotification $chatNotification, |
|
| 87 | PlayerStorage $playerStorage, |
|
| 88 | LoggerInterface $logger, |
|
| 89 | Time $timeHelper |
|
| 90 | ) { |
|
| 91 | parent::__construct( |
|
| 92 | $command, |
|
| 93 | $permission, |
|
| 94 | $aliases, |
|
| 95 | $adminGroupsHelper, |
|
| 96 | $connection, |
|
| 97 | $chatNotification, |
|
| 98 | $playerStorage, |
|
| 99 | $logger, |
|
| 100 | $timeHelper |
|
| 101 | ); |
|
| 102 | ||
| 103 | $this->description = 'expansion_admin_chat.'.strtolower($functionName).'.description'; |
|
| 104 | $this->chatMessage = 'expansion_admin_chat.'.strtolower($functionName).'.msg'; |
|
| 105 | $this->functionName = $functionName; |
|
| 106 | $this->parameterLoginDescription = $parameterLoginDescription; |
|
| 107 | $this->parameterReasonDescription = $parameterReasonDescription; |
|
| 108 | } |
|
| 109 | ||
| 110 | ||
| 111 | /** |
|