Code Duplication    Length = 8-8 lines in 2 locations

src/Bundle/TwigBundle/Twig/FlexibleExtensionFilesystemLoader.php 2 locations

@@ 69-76 (lines=8) @@
66
    /**
67
     * {@inheritdoc}
68
     */
69
    public function getSource($name)
70
    {
71
        $this->getCacheKey($name);
72
73
        $extension = $this->cachedCacheKeyExtension[$name];
74
75
        return $this->filesystemLoader->getSource($name.$extension);
76
    }
77
78
    /**
79
     * {@inheritdoc}
@@ 111-118 (lines=8) @@
108
    /**
109
     * {@inheritdoc}
110
     */
111
    public function isFresh($name, $time)
112
    {
113
        $this->getCacheKey($name);
114
115
        $extension = $this->cachedCacheKeyExtension[$name];
116
117
        return $this->filesystemLoader->isFresh($name.$extension, $time);
118
    }
119
120
    public function clean()
121
    {