2022-01-31 18:21:13 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
namespace CuyZ\Valinor\Tests\Fake\Definition\Repository;
|
|
|
|
|
|
|
|
use CuyZ\Valinor\Definition\FunctionDefinition;
|
|
|
|
use CuyZ\Valinor\Definition\Repository\FunctionDefinitionRepository;
|
2022-03-17 20:48:29 +01:00
|
|
|
use CuyZ\Valinor\Tests\Fake\Definition\FakeFunctionDefinition;
|
2022-01-31 18:21:13 +01:00
|
|
|
|
|
|
|
final class FakeFunctionDefinitionRepository implements FunctionDefinitionRepository
|
|
|
|
{
|
|
|
|
public function for(callable $function): FunctionDefinition
|
|
|
|
{
|
2022-03-17 20:48:29 +01:00
|
|
|
return FakeFunctionDefinition::new();
|
2022-01-31 18:21:13 +01:00
|
|
|
}
|
|
|
|
}
|