diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-09-13 11:35:21 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-09-13 17:44:24 +0200 |
commit | fd745228043d04b5082995d552803e486094643c (patch) | |
tree | 434834913e628622e623e8ba4f63d4744f49d1b3 /lib/private/appframework | |
parent | ca921fa1e78ce2cf64877e31b6663c3ad4854aef (diff) | |
download | nextcloud-server-fd745228043d04b5082995d552803e486094643c.tar.gz nextcloud-server-fd745228043d04b5082995d552803e486094643c.zip |
make resolve public to avoid boiler plate code
add resolve to public interface
Diffstat (limited to 'lib/private/appframework')
-rw-r--r-- | lib/private/appframework/utility/simplecontainer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/appframework/utility/simplecontainer.php b/lib/private/appframework/utility/simplecontainer.php index 83a08acde26..5d7ea48752b 100644 --- a/lib/private/appframework/utility/simplecontainer.php +++ b/lib/private/appframework/utility/simplecontainer.php @@ -77,7 +77,7 @@ class SimpleContainer extends Container implements IContainer { * @return stdClass * @throws QueryException if the class could not be found or instantiated */ - private function resolve($name) { + public function resolve($name) { $baseMsg = 'Could not resolve ' . $name . '!'; try { $class = new ReflectionClass($name); |