Completed
Push — master ( a8052f...413f40 )
by André
20:01 queued 05:56
created

RemoveTranslationSlot::supports()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 4
rs 10
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 RemoveTranslationSignal.
15
 *
16
 * @deprecated since 6.11. The platform-http-cache package defines slots for http-cache multi-tagging.
17
 */
18
class RemoveTranslationSlot extends PurgeForContentHttpCacheSlot
0 ignored issues
show
Deprecated Code introduced by
The class eZ\Publish\Core\MVC\Symf...ForContentHttpCacheSlot has been deprecated with message: since 6.8. The platform-http-cache package defines slots for http-cache multi-tagging.

This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.

Loading history...
19
{
20
    protected function supports(Signal $signal)
21
    {
22
        return $signal instanceof Signal\ContentService\RemoveTranslationSignal;
23
    }
24
}
25