PurgeHomepage   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getCliCommand() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
/**
6
 * File: PurgeHomepage.php
7
 *
8
 * @author Maciej Sławik <[email protected]>
9
 * @copyright Copyright (C) 2019 Lizard Media (http://lizardmedia.pl)
10
 */
11
12
namespace LizardMedia\VarnishWarmer\Controller\Adminhtml\Purge;
13
14
use LizardMedia\VarnishWarmer\Console\Command\PurgeHomepageCommand;
15
use LizardMedia\VarnishWarmer\Controller\Adminhtml\Purge;
16
17
/**
18
 * Class PurgeHomepage
19
 * @package LizardMedia\VarnishWarmer\Controller\Adminhtml\Purge
20
 */
21
class PurgeHomepage extends Purge
22
{
23
    /**
24
     * @return string
25
     */
26
    protected function getCliCommand(): string
27
    {
28
        return PurgeHomepageCommand::CLI_COMMAND;
29
    }
30
}
31