codelytv / criteria-to-doctrine
There is no license information available for the latest version (0.1.3) of this package.
0.1.3
2024-08-06 13:56 UTC
Requires
- php: ^8.2
- codelytv/criteria: ^0.1.3
- doctrine/orm: ^3
Requires (Dev)
- codelytv/criteria-test-mother: ^0.1.3
README
🎼 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(); }