Completed
Push — master ( 2b8a9b...6ad9e4 )
by Asmir
10:57 queued 10:57
created

TwitalLoaderTwigLt3   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Dependencies 1

Importance

Changes 0
Metric Value
wmc 4
cbo 1
dl 0
loc 24
c 0
b 0
f 0
rs 10

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getCacheKey() 0 4 1
A isFresh() 0 4 1
A getSourceContext() 0 4 1
A exists() 0 4 1
1
<?php
2
3
namespace Goetas\Twital;
4
5
/**
6
 * @author Martin Hasoň <[email protected]>
7
 */
8
abstract class TwitalLoaderTwigLt3
9
{
10
    use TwitalLoaderTrait;
11
12
    public function getCacheKey($name)
13
    {
14
        return $this->loader->getCacheKey($name);
15
    }
16
17
    public function isFresh($name, $time)
18
    {
19
        return $this->loader->isFresh($name, $time);
20
    }
21
22
    public function getSourceContext($name)
23
    {
24
        return $this->doGetSourceContext($name);
25
    }
26
27
    public function exists($name)
28
    {
29
        return $this->doExists($name);
30
    }
31
}
32