Completed
Pull Request — master (#253)
by Daniel
11:26
created

NullTagManager::tagCacheId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
eloc 1
nc 1
nop 3
1
<?php
2
3
namespace FOS\HttpCache\Tag\Manager;
4
5
use FOS\HttpCache\Tag\ManagerInterface;
6
7
/**
8
 * Null tag manager - use this manager when no tagging is required.
9
 */
10
class NullTagManager implements ManagerInterface
11
{
12
    /**
13
     * {@inheritdoc}
14
     */
15
    public function invalidateTags(array $tags)
16
    {
17
    }
18
19
    /**
20
     * {@inheritdoc}
21
     */
22
    public function tagCacheId(array $tags, $cacheId, $lifetime)
23
    {
24
    }
25
}
26