Files
kimai2/src/Event/TimesheetMetaDisplayEvent.php
Kevin Papst aee063bb3c added annotation based exporter (#1831)
* added user exporter
* added project exporter
* added customer exporter
* added activity exporter
2020-07-21 03:37:51 +02:00

32 lines
835 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\Event;
use App\Repository\Query\TimesheetQuery;
/**
* Dynamically find possible meta fields for a timesheet query.
*
* @method TimesheetQuery getQuery()
*/
final class TimesheetMetaDisplayEvent extends AbstractMetaDisplayEvent
{
public const EXPORT = 'export';
public const TIMESHEET = 'timesheet';
public const TEAM_TIMESHEET = 'team-timesheet';
public const TIMESHEET_EXPORT = 'timesheet-export';
public const TEAM_TIMESHEET_EXPORT = 'team-timesheet-export';
public function __construct(TimesheetQuery $query, string $location)
{
parent::__construct($query, $location);
}
}