mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-18 20:51:16 +02:00
fix registry.php namespace bug
This commit is contained in:
@@ -46,7 +46,7 @@ abstract class Registry
|
|||||||
}
|
}
|
||||||
|
|
||||||
// while bootstraping the application
|
// while bootstraping the application
|
||||||
Registry::set(Registry::LOGGER, new StdClass());
|
Registry::set(Registry::LOGGER, new \StdClass());
|
||||||
|
|
||||||
// throughout the application
|
// throughout the application
|
||||||
Registry::get(Registry::LOGGER)->log('foo');
|
Registry::get(Registry::LOGGER)->log('foo');
|
Reference in New Issue
Block a user