<?phpdeclare(strict_types=1);namespace App\Repository\Configurator;use Sylius\Bundle\ResourceBundle\Doctrine\ORM\EntityRepository;final class FontRepository extends EntityRepository{ public function findByPhrase(string $phrase): array { return $this->createQueryBuilder('f') ->andWhere('f.name LIKE :phrase') ->setParameter('phrase', '%' . $phrase . '%') ->getQuery() ->getResult() ; }}