diff options
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/IContainer.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public/IContainer.php b/lib/public/IContainer.php index f7ca0697671..558c72291c5 100644 --- a/lib/public/IContainer.php +++ b/lib/public/IContainer.php @@ -61,11 +61,12 @@ interface IContainer { * Look up a service for a given name in the container. * * @param string $name + * @param bool $autoload Should we try to autoload the service. If we are trying to resolve built in types this makes no sense for example * @return mixed * @throws QueryException if the query could not be resolved * @since 6.0.0 */ - public function query($name); + public function query(string $name, bool $autoload = true); /** * A value is stored in the container with it's corresponding name |