/** * The only one method to return the instance of this class, 'cause constructor is private * * @return RM_Environment */ public static function getInstance() { if (self::$_instance === null) { self::$_instance = new self(); } return self::$_instance; }