Re-add documentation block to data member

pull/5050/head
Marco Villegas 11 months ago
parent d5a5b58107
commit a69e818b4d
  1. 11
      src/CourseBundle/Repository/CQuizRepository.php

@ -103,6 +103,17 @@ final class CQuizRepository extends ResourceRepository implements ResourceWithLi
return $qb;
}
/**
* Adds resource.active filter.
*
* @param int|null $active
* One of the following values.
* - null = no filter
* - -1 = deleted exercises
* - 0 = inactive exercises
* - 1 = active exercises
* - 2 = all exercises (active and inactive)
*/
private function addActiveQueryBuilder(int $active = null, QueryBuilder $qb = null): QueryBuilder
{
$qb = $this->getOrCreateQueryBuilder($qb);

Loading…
Cancel
Save