protected static defineConstants ( array $constants ) | ||
$constants | array |
protected static function defineConstants(array $constants)
{
if (!empty($constants)) {
foreach ($constants as $key => $value) {
defined($key) || define($key, $value);
}
}
}