| Total Complexity | 5 |
| Total Lines | 58 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class DeleteGlobalTokenByIDCommand extends Command |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * The console command name. |
||
| 15 | * |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | protected $name = 'tokens:global-delete-by-id {token_id}'; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * The console command description. |
||
| 22 | * |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | protected $description = 'Удалить глобальный токен по ID токена (tokens:global-delete-by-id {token_id})'; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * The console command signature. |
||
| 29 | * |
||
| 30 | * @var string |
||
| 31 | */ |
||
| 32 | protected $signature = 'tokens:global-delete-by-id {token_id}'; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @var Composer |
||
| 36 | */ |
||
| 37 | public Composer $composer; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @var TokenManager |
||
| 41 | */ |
||
| 42 | public TokenManager $TokenManager; |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Create a new command instance. |
||
| 46 | */ |
||
| 47 | public function __construct(TokenManager $TokenManager) |
||
| 48 | { |
||
| 49 | parent::__construct(); |
||
| 50 | $this->TokenManager = $TokenManager; |
||
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * Execute the command. |
||
| 55 | * |
||
| 56 | * @return mixed |
||
| 57 | */ |
||
| 58 | public function handle() |
||
| 69 | } |
||
| 70 | } |
||
| 71 |