Skip to content

Latest commit

 

History

History

criteria-to-doctrine

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Codely logo

🎼 Criteria to Doctrine

🔒 Read-only repository

Any modification must be done in the main repository.

📥 Installation

composer require codelytv/criteria-to-doctrine

💻 Usage

public function matching(Criteria $criteria): array
{
    $doctrineCriteria = (new CriteriaToDoctrineConverter())->convert($criteria);

    return $this->repository(BackofficeCourse::class)->matching($doctrineCriteria)->toArray();
}