Add namespace.

This commit is contained in:
2014-06-02 18:58:49 +04:00
parent aec1a60985
commit 1ba341b064
159 changed files with 265 additions and 264 deletions

View File

@ -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;
}