public function getPaths()
    {
        $qb = $this
            ->createQueryBuilder('r')
            ->select('r.path');

        $paths = [];
        foreach ($qb->getQuery()->getArrayResult() as $item) {
            $paths[$item['path']] = $item['path'];
        }

        return $paths;
    }
public function getPaths()
    {
        $qb = $this
            ->createQueryBuilder('r')
            ->select('r.path');

        $paths = [];
        foreach ($qb->getQuery()->getArrayResult() as $item) {
            $paths[$item['path']] = $item['path'];
        }

        return $paths;
    }
{@inheritdoc}