Skip to content

Instantly share code, notes, and snippets.

@shin1x1
Created June 23, 2019 03:23
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 shin1x1/acd5a786863bcdd51a774a1cfabea118 to your computer and use it in GitHub Desktop.
Save shin1x1/acd5a786863bcdd51a774a1cfabea118 to your computer and use it in GitHub Desktop.
<?php
namespace Acme\Domain\Repository;
use Acme\Domain\Model\PointEmail;
use Acme\Domain\Model\UserId;
interface PointEmailRepository
{
/**
* @param UserId $id
* @return PointEmail
*/
public function findByUserId(UserId $id): PointEmail;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment