src/Kunstmaan/SeoBundle/Repository/SeoRepository.php
public function findFor(AbstractEntity $entity)
    {
        return $this->findOneBy(array('refId' => $entity->getId(), 'refEntityName' => ClassLookup::getClass($entity)));
    }
public function findFor(AbstractEntity $entity)
    {
        return $this->findOneBy(array('refId' => $entity->getId(), 'refEntityName' => ClassLookup::getClass($entity)));
    }
public function findFor ( AbstractEntity $ entity ) { return $ this -> findOneBy ( array ( 'refId' => $ entity -> getId ( ) , 'refEntityName' => ClassLookup :: getClass ( $ entity ) ) ) ; }
Find the seo information for the given entity

@param AbstractEntity $entity

@return Seo
Find the seo information for the given entity