DownloadStatsProcess   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
eloc 4
c 1
b 0
f 0
dl 0
loc 11
ccs 0
cts 6
cp 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A handle() 0 3 1
A configure() 0 4 1
1
<?php
2
3
namespace ByTIC\DocumentGenerator\PdfLetters\Console;
4
5
use ByTIC\Console\Command;
6
7
/**
8
 * Class DownloadStatsProcess
9
 * @package ByTIC\DocumentGenerator\PdfLetters\Console
10
 */
11
class DownloadStatsProcess extends Command
12
{
13
    protected function configure()
14
    {
15
        parent::configure();
16
        $this->setName('document-generator:pdf-letters:downloads-stats-process');
17
    }
18
19
    protected function handle()
20
    {
21
        (new \ByTIC\DocumentGenerator\PdfLetters\Actions\DownloadStatsProcess())->handle();
22
    }
23
}
24