Skip to content

Instantly share code, notes, and snippets.

View EmailConfirmation.php
<?php
class EmailConfirmation
{
public function __construct(
UserRepositoryInterface $userRepository,
TokenGeneraotorInterface $tokenGenerator,
MailerInterface $mailer
)
{
$this->userRepository = $userRepository;
View EmailConfirmation.php
<?php
class EmailConfirmation
{
public function __construct(
UserRepositoryInterface $userRepository,
TokenGeneraotorInterface $tokenGenerator,
MailerInterface $mailer
)
{
$this->userRepository = $userRepository;
View ExampleValueObject.php
<?php
class ExampleValueObject
{
private string $value;
/**
* ExampleValueObject constructor.
*
* @param string $exampleValue some example value