lib/private/AppFramework/Utility/SimpleContainer.php
/**
	 * Shortcut for returning a service from a service under a different key,
	 * e.g. to tell the container to return a class when queried for an
	 * interface
	 * @param string $alias the alias that should be registered
	 * @param string $target the target that should be resolved instead
	 */
Shortcut for returning a service from a service under a different key,
e.g. to tell the container to return a class when queried for an
interface
@param string $alias the alias that should be registered
@param string $target the target that should be resolved instead
Shortcut for returning a service from a service under a different key e . g . to tell the container to return a class when queried for an interface @param string $alias the alias that should be registered @param string $target the target that should be resolved instead
public function registerAlias($alias, $target) {
		$this->registerService($alias, function (IContainer $container) use ($target) {
			return $container->query($target);
		}, false);
	}
public function registerAlias ( $ alias , $ target ) { $ this -> registerService ( $ alias , function ( IContainer $ container ) use ( $ target ) { return $ container -> query ( $ target ) ; } , false ) ; }
Shortcut for returning a service from a service under a different key,
 e.g.
Shortcut for returning a service from a service under a different key e . g .