Valinor/tests/Fake/Mapper/Object/FakeObjectBuilder.php

22 lines
380 B
PHP
Raw Normal View History

2021-11-28 17:43:02 +01:00
<?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(): iterable
2021-11-28 17:43:02 +01:00
{
return [];
}
public function build(array $arguments): object
{
return new stdClass();
}
}