addAlias('_aws', self::getDefaultServiceDefinition()) ->addAlias('_sdk1', __DIR__ . '/Resources/sdk1-config.php'); return $loader->load($config, $globalParameters); } /** * Get the full path to the default service builder definition file * * @return string */ public static function getDefaultServiceDefinition() { return __DIR__ . '/Resources/aws-config.php'; } /** * Returns the configuration for the service builder * * @return array */ public function getConfig() { return $this->builderConfig; } /** * Enables the facades for the clients defined in the service builder * * @param string|null $namespace The namespace that the facades should be mounted to. Defaults to global namespace * * @return Aws */ public function enableFacades($namespace = null) { Facade::mountFacades($this, $namespace); return $this; } }