Add namespace.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php namespace Majestic;
|
||||
/**
|
||||
* @copyright NetMonsters <team@netmonsters.ru>
|
||||
* @link http://netmonsters.ru
|
||||
@ -7,7 +7,7 @@
|
||||
* @since 2010-02-17
|
||||
*/
|
||||
|
||||
class Registry extends ArrayObject
|
||||
class Registry extends \ArrayObject
|
||||
{
|
||||
/**
|
||||
* Class name of the singleton registry object.
|
||||
@ -53,7 +53,7 @@ class Registry extends ArrayObject
|
||||
public static function getInstance()
|
||||
{
|
||||
if (self::$_registry === null) {
|
||||
self::$_registry = new self::$_class_name();
|
||||
self::$_registry = new \Majestic\Registry();
|
||||
}
|
||||
return self::$_registry;
|
||||
}
|
||||
|
Reference in New Issue
Block a user