mirror of
https://github.com/danog/Valinor.git
synced 2025-01-08 05:38:23 +01:00
22 lines
387 B
PHP
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();
|
||
|
}
|
||
|
}
|