Skip to content

Instantly share code, notes, and snippets.

@mdzwigala
Created December 4, 2020 12:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mdzwigala/78f827f9d15044ba7f2831fbe21ae4c1 to your computer and use it in GitHub Desktop.
Save mdzwigala/78f827f9d15044ba7f2831fbe21ae4c1 to your computer and use it in GitHub Desktop.
ADR-EXAMPLE\Action\AddUserOutput
<?php
declare(strict_types=1);
namespace App\Action\Output;
final class AddUserOutput
{
private string $userId;
public function __construct(string $userId)
{
$this->userId = $userId;
}
public function getUserId(): string
{
return $this->userId;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment