Completed
Pull Request — master (#732)
by 12345
03:41
created

CacheManagerAwareTrait   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 12
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A setCacheManager() 0 4 1
1
<?php
2
3
namespace Liip\ImagineBundle\Imagine\Cache;
4
5
trait CacheManagerAwareTrait
6
{
7
    /**
8
     * @var CacheManager
9
     */
10
    protected $cacheManager;
11
12
    public function setCacheManager(CacheManager $cacheManager)
13
    {
14
        $this->cacheManager = $cacheManager;
15
    }
16
}
17