src/DlcCategory/Mapper/Category.php
public function findOneByTitle($title)
    {
        $entityClass = $this->getEntityClass();

        return $this->getObjectManager()
                    ->getRepository($entityClass)
                    ->findOneByTitle($title);
    }
public function findOneByTitle($title)
    {
        $entityClass = $this->getEntityClass();

        return $this->getObjectManager()
                    ->getRepository($entityClass)
                    ->findOneByTitle($title);
    }
public function findOneByTitle ( $ title ) { $ entityClass = $ this -> getEntityClass ( ) ; return $ this -> getObjectManager ( ) -> getRepository ( $ entityClass ) -> findOneByTitle ( $ title ) ; }
Find one category by it's title

@param string $title
Find one category by it s title