DownloadStatsProcess::handle()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
ccs 0
cts 2
cp 0
rs 10
cc 1
nc 1
nop 0
crap 2
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