for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Yiisoft\Yii\Debug\Tests\Support;
use Yiisoft\Auth\IdentityInterface;
final class FakeIdentity implements IdentityInterface
{
private ?string $id;
public function __construct(?string $id)
$this->id = $id;
}
public function getId(): ?string
return $this->id;