mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-02-24 09:42:24 +01:00
fix registry.php namespace bug
This commit is contained in:
parent
04b8a20894
commit
50855edc52
@ -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');
|
Loading…
x
Reference in New Issue
Block a user