Skip to content

Instantly share code, notes, and snippets.

View genkovich's full-sized avatar
:octocat:
happy

Kirill Sulimovsky genkovich

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