Code Duplication    Length = 9-9 lines in 2 locations

web/ckfinder/core/connector/php/vendor/symfony/http-kernel/Bundle/Bundle.php 1 location

@@ 117-125 (lines=9) @@
114
     *
115
     * @return string The Bundle absolute path
116
     */
117
    public function getPath()
118
    {
119
        if (null === $this->path) {
120
            $reflected = new \ReflectionObject($this);
121
            $this->path = dirname($reflected->getFileName());
122
        }
123
124
        return $this->path;
125
    }
126
127
    /**
128
     * Returns the bundle parent name.

web/ckfinder/core/connector/php/vendor/symfony/http-kernel/Kernel.php 1 location

@@ 332-340 (lines=9) @@
329
    /**
330
     * {@inheritdoc}
331
     */
332
    public function getRootDir()
333
    {
334
        if (null === $this->rootDir) {
335
            $r = new \ReflectionObject($this);
336
            $this->rootDir = dirname($r->getFileName());
337
        }
338
339
        return $this->rootDir;
340
    }
341
342
    /**
343
     * {@inheritdoc}