performance tuning on timesheets (#874)
This commit is contained in:
20
src/Repository/Loader/LoaderInterface.php
Normal file
20
src/Repository/Loader/LoaderInterface.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?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\Loader;
|
||||
|
||||
interface LoaderInterface
|
||||
{
|
||||
/**
|
||||
* Prepares the given database results, so no lazy loading will be performed.
|
||||
*
|
||||
* @param array $results
|
||||
*/
|
||||
public function loadResults(array $results): void;
|
||||
}
|
||||
Reference in New Issue
Block a user