2021-11-28 17:43:02 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
namespace CuyZ\Valinor\Tests\Fake\Definition\Repository;
|
|
|
|
|
|
|
|
use CuyZ\Valinor\Definition\ClassDefinition;
|
|
|
|
use CuyZ\Valinor\Definition\Repository\ClassDefinitionRepository;
|
|
|
|
use CuyZ\Valinor\Tests\Fake\Definition\FakeClassDefinition;
|
2022-01-13 16:01:35 +01:00
|
|
|
use CuyZ\Valinor\Type\Types\ClassType;
|
2021-11-28 17:43:02 +01:00
|
|
|
|
|
|
|
final class FakeClassDefinitionRepository implements ClassDefinitionRepository
|
|
|
|
{
|
2022-01-13 16:01:35 +01:00
|
|
|
public function for(ClassType $type): ClassDefinition
|
2021-11-28 17:43:02 +01:00
|
|
|
{
|
|
|
|
return FakeClassDefinition::new();
|
|
|
|
}
|
|
|
|
}
|