Files
kimai/src/Model/CustomerBudgetStatisticModel.php
Kevin Papst 1e0fbf0b73 Release 2.35 (#5470)
* open up API for plugins by removing internal
* use constants in entity column definition
* simplified entity management API
* bump packages
* allow installing assets and run database migrations independently
* bump to apidoc-bundle 5
* do not duplicate http method in API operationId
* new security entries in Open API definition
* changed API UI provider for Swagger to Stoplight, improved endpoint titles, hide internal endpoints
* deactivate swagger json endpoint
2025-05-24 14:28:39 +02:00

31 lines
614 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\Model;
use App\Entity\Customer;
/**
* Object used to unify the access to budget data in charts.
*
* @method Customer getEntity()
*/
class CustomerBudgetStatisticModel extends BudgetStatisticModel
{
public function __construct(Customer $customer)
{
parent::__construct($customer);
}
public function getCustomer(): Customer
{
return $this->getEntity();
}
}