/** * @param string $name * * @return bool */ public static function hasService($name) { return self::$app->has($name); }