Completed
Push — master ( 87a78f...b306f9 )
by André
97:52 queued 72:52
created

TrashSlot   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A supports() 0 4 1
1
<?php
2
3
/**
4
 * This file is part of the eZ Publish Kernel package.
5
 *
6
 * @copyright Copyright (C) eZ Systems AS. All rights reserved.
7
 * @license For full copyright and license information view LICENSE file distributed with this source code.
8
 */
9
namespace eZ\Publish\Core\MVC\Symfony\Cache\Http\SignalSlot;
10
11
use eZ\Publish\Core\SignalSlot\Signal;
12
13
/**
14
 * A slot handling TrashSignal.
15
 */
16
class TrashSlot extends PurgeForContentHttpCacheSlot
17
{
18
    protected function supports(Signal $signal)
19
    {
20
        return $signal instanceof Signal\TrashService\TrashSignal;
21
    }
22
}
23