-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
<?php
error_reporting(E_ALL);
ini_set('display_errors', '1');
require('/home/smspi/public_html/org/nameapi/client/services/ServiceFactory.php');
use org\nameapi\ontology\input\context\Context;
use org\nameapi\ontology\input\context\Priority;
use org\nameapi\ontology\input\context\TextCase;
$context = Context::builder()
->apiKey('MYAPIKEY')
->priority(Priority::REALTIME)
->build();
$serviceFactory = new ServiceFactory($context);
$deaDetector = $serviceFactory->emailServices()->disposableEmailAddressDetector();
$result = $deaDetector->isDisposable("[email protected]");
$dispose = $result->getDisposable()->toString();
echo $dispose;
?>
what am i doing wrong?
Fatal error: Undefined class constant 'REALTIME'
Metadata
Metadata
Assignees
Labels
No labels