Files
fdn2/app/private/lib/GlobalVariables.php
T
2022-08-29 23:20:16 +02:00

20 lines
302 B
PHP

<?php
/*
Author: Riccardo Di Dato
Creation Date: 12/gen/2016
*/
class GlobalVariables {
private static $variables = array();
public static function set($name, $value){
self::$variables[$name] = clone $value;
}
public static function get($name){
return self::$variables[$name];
}
}
?>