You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
586 B
PHP
27 lines
586 B
PHP
<?php
|
|
/**
|
|
* Created by PhpStorm.
|
|
* User: cokoch
|
|
* Date: 2/20/2017
|
|
* Time: 12:40 PM
|
|
*/
|
|
|
|
namespace BusinessLogic\Tickets;
|
|
|
|
|
|
use DataAccess\Tickets\VerifiedEmailGateway;
|
|
|
|
class VerifiedEmailChecker {
|
|
/**
|
|
* @var $verifiedEmailGateway VerifiedEmailGateway
|
|
*/
|
|
private $verifiedEmailGateway;
|
|
|
|
function __construct($verifiedEmailGateway) {
|
|
$this->verifiedEmailGateway = $verifiedEmailGateway;
|
|
}
|
|
|
|
function isEmailVerified($emailAddress, $heskSettings) {
|
|
return $this->verifiedEmailGateway->isEmailVerified($emailAddress, $heskSettings);
|
|
}
|
|
} |