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

22 lines
387 B
PHP

<?php
declare(strict_types=1);
namespace CuyZ\Valinor\Tests\Fake\Mapper\Object;
use CuyZ\Valinor\Mapper\Object\ObjectBuilder;
use stdClass;
final class FakeObjectBuilder implements ObjectBuilder
{
public function describeArguments($source): iterable
{
return [];
}
public function build(array $arguments): object
{
return new stdClass();
}
}