| 1 | <?php |
||
| 20 | class EmailSentToMatcher implements EmailMatcher { |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | protected $recipient; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param string $recipient |
||
| 29 | */ |
||
| 30 | public function __construct($recipient) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | public function __toString() |
||
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritdoc} |
||
| 45 | */ |
||
| 46 | public function matches(Email $email) |
||
| 50 | } |
||
| 51 |