Valinor/tests/Fake/Mapper/Source/FakeIdentifiableSource.php

23 lines
430 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\Source;
use CuyZ\Valinor\Mapper\Source\IdentifiableSource;
final class FakeIdentifiableSource implements IdentifiableSource
{
private string $sourceName;
public function __construct(string $sourceName)
{
$this->sourceName = $sourceName;
}
public function sourceName(): string
{
return $this->sourceName;
}
}