public function findOneMostRecentByUrl($url)
    {
        $entity = null;

        $qb = $this->createQueryBuilder('route');
        $qb->where('route.url = :url');
        $qb->setParameter(':url', $url);
        $qb->orderBy('route.id', 'DESC');
        $qb->setMaxResults(1);

        $results = $qb->getQuery()->getResult();

        if (count($results) > 0) {
            $entity = $results[0];
        }

        return $entity;
    }