2021-11-28 17:43:02 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
namespace CuyZ\Valinor\Tests\Fake\Mapper\Object;
|
|
|
|
|
2022-03-30 23:09:19 +02:00
|
|
|
use CuyZ\Valinor\Mapper\Object\Arguments;
|
2021-11-28 17:43:02 +01:00
|
|
|
use CuyZ\Valinor\Mapper\Object\ObjectBuilder;
|
|
|
|
use stdClass;
|
|
|
|
|
|
|
|
final class FakeObjectBuilder implements ObjectBuilder
|
|
|
|
{
|
2022-03-30 23:09:19 +02:00
|
|
|
public function describeArguments(): Arguments
|
2021-11-28 17:43:02 +01:00
|
|
|
{
|
2022-03-30 23:09:19 +02:00
|
|
|
return new Arguments();
|
2021-11-28 17:43:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public function build(array $arguments): object
|
|
|
|
{
|
|
|
|
return new stdClass();
|
|
|
|
}
|
|
|
|
}
|