2017-02-20 13:05:41 -05:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Created by PhpStorm.
|
|
|
|
* User: cokoch
|
|
|
|
* Date: 2/20/2017
|
|
|
|
* Time: 12:40 PM
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace BusinessLogic\Tickets;
|
|
|
|
|
|
|
|
|
|
|
|
use DataAccess\Tickets\VerifiedEmailGateway;
|
|
|
|
|
2017-09-11 21:03:03 -04:00
|
|
|
class VerifiedEmailChecker extends \BaseClass {
|
2017-02-20 13:05:41 -05:00
|
|
|
/**
|
|
|
|
* @var $verifiedEmailGateway VerifiedEmailGateway
|
|
|
|
*/
|
|
|
|
private $verifiedEmailGateway;
|
|
|
|
|
2017-09-07 20:31:57 -04:00
|
|
|
function __construct(VerifiedEmailGateway $verifiedEmailGateway) {
|
2017-02-20 13:05:41 -05:00
|
|
|
$this->verifiedEmailGateway = $verifiedEmailGateway;
|
|
|
|
}
|
|
|
|
|
|
|
|
function isEmailVerified($emailAddress, $heskSettings) {
|
|
|
|
return $this->verifiedEmailGateway->isEmailVerified($emailAddress, $heskSettings);
|
|
|
|
}
|
|
|
|
}
|