Files
kimai2/src/Repository/Query/ActivityQuery.php
2018-02-03 18:23:47 +01:00

44 lines
770 B
PHP

<?php
/*
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace App\Repository\Query;
use App\Entity\Customer;
use App\Entity\Project;
/**
* Can be used for advanced queries with the: ActivityRepository
*/
class ActivityQuery extends ProjectQuery
{
/**
* @var Project
*/
protected $project;
/**
* @return Project
*/
public function getProject()
{
return $this->project;
}
/**
* @param Project $project
* @return $this
*/
public function setProject(Project $project = null)
{
$this->project = $project;
return $this;
}
}