* added base classes for repositories and queries #40 * prepared controller and repositories to use fetchByQuery() #40 * removed findAll() which has added pagination to the original doctrine method #40
27 lines
639 B
PHP
27 lines
639 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the Kimai package.
|
|
*
|
|
* (c) Kevin Papst <kevin@kevinpapst.de>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace TimesheetBundle\Repository\Query;
|
|
|
|
use AppBundle\Repository\Query\BaseQuery;
|
|
use AppBundle\Repository\Query\VisibilityInterface;
|
|
use AppBundle\Repository\Query\VisibilityTrait;
|
|
|
|
/**
|
|
* Can be used for advanced queries with the: ActivityRepository
|
|
*
|
|
* @author Kevin Papst <kevin@kevinpapst.de>
|
|
*/
|
|
class ActivityQuery extends BaseQuery implements VisibilityInterface
|
|
{
|
|
use VisibilityTrait;
|
|
}
|