You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
402 B
PHP
22 lines
402 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Kartierung\Repository\ResolutionStrategy;
|
|
|
|
use Kartierung\Analyze\RepositoryMethod;
|
|
use Kartierung\Sql\LazyQuery;
|
|
use PDO;
|
|
|
|
class FindById implements ResolutionStrategy
|
|
{
|
|
public function execute(RepositoryMethod $method, array $parameters): LazyQuery
|
|
{
|
|
return new LazyQuery(
|
|
function (PDO $pdo) {
|
|
|
|
}
|
|
);
|
|
}
|
|
}
|