mirror of
https://github.com/danog/Valinor.git
synced 2024-12-02 17:48:14 +01:00
18 lines
483 B
PHP
18 lines
483 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace CuyZ\Valinor\Tests\Fake\Definition\Repository;
|
|
|
|
use CuyZ\Valinor\Definition\FunctionDefinition;
|
|
use CuyZ\Valinor\Definition\Repository\FunctionDefinitionRepository;
|
|
use CuyZ\Valinor\Tests\Fake\Definition\FakeFunctionDefinition;
|
|
|
|
final class FakeFunctionDefinitionRepository implements FunctionDefinitionRepository
|
|
{
|
|
public function for(callable $function): FunctionDefinition
|
|
{
|
|
return FakeFunctionDefinition::new();
|
|
}
|
|
}
|