I have two files, the first is Test.php which looks like this:
<?php
namespace My\Namespaces\Test;
class Test {
const ALERT_EMAIL = "AlertEmail";
const ALERT_SMS = "AlertSms";
const ALERT_NOTIFICATION = "AlertNotification";
} // class - EnumAlertType
?>
and another file try to use const from Test.php
<?php
use My\Namespaces\Test;
$a = Test::ALERT_SMS;
?>
but i still get the Class 'My\Namespaces\Test' not found
error, i'm not sure if i'm using the namespace correctly. Thanks