lib/private/AppFramework/DependencyInjection/DIContainer.php
/**
	 * @param string $name
	 * @return mixed
	 * @throws QueryException if the query could not be resolved
	 */
@param string $name
@return mixed
@throws QueryException if the query could not be resolved
@param string $name @return mixed @throws QueryException if the query could not be resolved
public function queryNoFallback($name) {
		$name = $this->sanitizeName($name);
		if ($this->offsetExists($name)) {
			return parent::query($name);
		} else {
			if ($this['AppName'] === 'settings' && strpos($name, 'OC\\Settings\\') === 0) {
				return parent::query($name);
			} else if ($this['AppName'] === 'core' && strpos($name, 'OC\\Core\\') === 0) {
				return parent::query($name);
			} else if (strpos($name, \OC\AppFramework\App::buildAppNamespace($this['AppName']) . '\\') === 0) {
				return parent::query($name);
			}
		}
		throw new QueryException('Could not resolve ' . $name . '!' .
			' Class can not be instantiated');
	}
public function queryNoFallback ( $ name ) { $ name = $ this -> sanitizeName ( $ name ) ; if ( $ this -> offsetExists ( $ name ) ) { return parent :: query ( $ name ) ; } else { if ( $ this [ 'AppName' ] === 'settings' && strpos ( $ name , 'OC\\Settings\\' ) === 0 ) { return parent :: query ( $ name ) ; } else if ( $ this [ 'AppName' ] === 'core' && strpos ( $ name , 'OC\\Core\\' ) === 0 ) { return parent :: query ( $ name ) ; } else if ( strpos ( $ name , \ OC \ AppFramework \ App :: buildAppNamespace ( $ this [ 'AppName' ] ) . '\\' ) === 0 ) { return parent :: query ( $ name ) ; } } throw new QueryException ( 'Could not resolve ' . $ name . '!' . ' Class can not be instantiated' ) ; }
@param string $name
 @return mixed
 @throws QueryException if the query could not be resolved
@param string $name @return mixed @throws QueryException if the query could not be resolved