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

23 lines
436 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\Arguments;
2021-11-28 17:43:02 +01:00
use CuyZ\Valinor\Mapper\Object\ObjectBuilder;
use stdClass;
final class FakeObjectBuilder implements ObjectBuilder
{
public function describeArguments(): Arguments
2021-11-28 17:43:02 +01:00
{
return new Arguments();
2021-11-28 17:43:02 +01:00
}
public function build(array $arguments): object
{
return new stdClass();
}
}