| 1 | <?php |
||
| 18 | class UpdateExpansion extends AbstractAdminChatCommand |
||
| 19 | { |
||
| 20 | /** @var ChatNotification */ |
||
| 21 | protected $chatNotificaiton; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * UpdateExpansion constructor. |
||
| 25 | * |
||
| 26 | * @param $command |
||
| 27 | * @param $permission |
||
| 28 | * @param array $aliases |
||
| 29 | * @param AdminGroups $adminGroups |
||
| 30 | * @param ChatNotification $chatNotification |
||
| 31 | */ |
||
| 32 | function __construct( |
||
| 41 | |||
| 42 | public function getDescription() |
||
| 46 | |||
| 47 | public function getHelp() |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @inheritdoc |
||
| 54 | */ |
||
| 55 | public function execute($login, InputInterface $input) |
||
| 60 | } |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.