mirror of
https://github.com/danog/Valinor.git
synced 2024-12-14 18:16:19 +01:00
8a74147d4c
The `Argument` class must now be instantiated with one of the `required` or `optional` static constructors.
22 lines
380 B
PHP
22 lines
380 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(): iterable
|
|
{
|
|
return [];
|
|
}
|
|
|
|
public function build(array $arguments): object
|
|
{
|
|
return new stdClass();
|
|
}
|
|
}
|