ServerContainer¶
-
class
OC\
ServerContainer
¶ - Class ServerContainer
Source: lib/private/ServerContainer.php#42 Parent: OC\AppFramework\Utility\SimpleContainer
Properties¶
-
protected static property
OC\ServerContainer::$
appContainers
¶ Source: lib/private/ServerContainer.php#44 Type: \OC\AppFramework\DependencyInjection\DIContainer[]
-
protected static property
OC\ServerContainer::$
hasNoAppContainer
¶ Source: lib/private/ServerContainer.php#47 Type: string[]
-
protected static property
OC\ServerContainer::$
namespaces
¶ Source: lib/private/ServerContainer.php#50 Type: string[]
Methods¶
-
public
OC\ServerContainer::
__construct
()¶ - ServerContainer constructor.
Source: lib/private/ServerContainer.php#55
-
public
OC\ServerContainer::
registerNamespace
($appName, $appNamespace)¶ Source: Parameters: - $appName (string)
- $appNamespace (string)
-
public
OC\ServerContainer::
registerAppContainer
($appName, $container)¶ Source: Parameters: - $appName (string)
- $container (
OC\AppFramework\DependencyInjection\DIContainer
)
-
public
OC\ServerContainer::
getRegisteredAppContainer
($appName)¶ Source: Parameters: - $appName (string)
Returns: Throws:
-
protected
OC\ServerContainer::
getAppContainer
($namespace, $sensitiveNamespace)¶ Source: Parameters: - $namespace (string)
- $sensitiveNamespace (string)
Returns: Throws:
-
public
OC\ServerContainer::
has
($id, $noRecursion=false)¶ Source: lib/private/ServerContainer.php#122
-
public
OC\ServerContainer::
query
($name, $autoload=true)¶ Source: lib/private/ServerContainer.php#133 Deprecated: 20.0.0 use \Psr\Container\ContainerInterface::get
-
public
OC\ServerContainer::
getAppContainerForService
($id)¶ Source: Parameters: - $id (string)
Returns: