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

NullTagManager   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A invalidateTags() 0 3 1
A tagCacheId() 0 3 1
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