mirror of
https://github.com/danog/Valinor.git
synced 2024-12-13 01:27:39 +01:00
32 lines
509 B
PHP
32 lines
509 B
PHP
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace CuyZ\Valinor\Tests\Fake\Definition;
|
||
|
|
||
|
use CuyZ\Valinor\Definition\Attributes;
|
||
|
use Traversable;
|
||
|
|
||
|
final class FakeAttributes implements Attributes
|
||
|
{
|
||
|
public function has(string $className): bool
|
||
|
{
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
public function ofType(string $className): iterable
|
||
|
{
|
||
|
return [];
|
||
|
}
|
||
|
|
||
|
public function count(): int
|
||
|
{
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
public function getIterator(): Traversable
|
||
|
{
|
||
|
yield from [];
|
||
|
}
|
||
|
}
|