Location: PHPKode > scripts > Employness > Employness-master/src/Employness/Repositories/CategoryRepository.php
<?php

namespace Employness\Repositories;

class CategoryRepository extends AbstractRepository
{
    public function getCategory($name)
    {
        return $this->findOneBy(array('LOWER(name)' => strtolower($name)));
    }
}
Return current item: Employness