123456789101112131415161718192021222324252627 |
- <?php
- namespace App\Repositories\Criteria\Exam;
- use Prettus\Repository\Contracts\CriteriaInterface;
- use Prettus\Repository\Contracts\RepositoryInterface;
- /**
- * Class TopicCriteria.
- *
- * @package namespace App\Repositories\Criteria\Exam;
- */
- class TopicCriteria implements CriteriaInterface
- {
- /**
- * Apply criteria in query repository
- *
- * @param string $model
- * @param RepositoryInterface $repository
- *
- * @return mixed
- */
- public function apply($model, RepositoryInterface $repository)
- {
- return $model;
- }
- }
|