Push   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
eloc 4
dl 0
loc 26
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A handle() 0 3 1
1
<?php
2
3
namespace App\Commands\Images;
4
5
use App\Commands\BaseCommand;
6
use App\Support\Images\Organiser\Organiser;
7
8
class Push extends BaseCommand
9
{
10
    /**
11
     * The signature of the command.
12
     *
13
     * @var string
14
     */
15
    protected $signature = 'images:push {service?}';
16
17
    /**
18
     * The description of the command.
19
     *
20
     * @var string
21
     */
22
    protected $description = 'Push the selected set of container images';
23
24
    /**
25
     * Execute the console command.
26
     *
27
     * @throws \Exception
28
     *
29
     * @return void
30
     */
31
    public function handle(): void
32
    {
33
        app(Organiser::class)->pushImages((string) $this->argument('service'));
34
    }
35
}
36