Valinor/tests/Fake/Mapper/Object/Factory/FakeObjectBuilderFactory.php
Romain Canon 396f64a524 feat: initial release
🎉
2021-11-28 18:21:56 +01:00

19 lines
493 B
PHP

<?php
declare(strict_types=1);
namespace CuyZ\Valinor\Tests\Fake\Mapper\Object\Factory;
use CuyZ\Valinor\Definition\ClassDefinition;
use CuyZ\Valinor\Mapper\Object\Factory\ObjectBuilderFactory;
use CuyZ\Valinor\Mapper\Object\ObjectBuilder;
use CuyZ\Valinor\Tests\Fake\Mapper\Object\FakeObjectBuilder;
final class FakeObjectBuilderFactory implements ObjectBuilderFactory
{
public function for(ClassDefinition $class): ObjectBuilder
{
return new FakeObjectBuilder();
}
}