Code Duplication    Length = 8-8 lines in 2 locations

src/Bundle/TwigBundle/FlexibleExtensionFilesystemLoader.php 2 locations

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