getConfig() as $service) { if (isset($service['alias'], $service['class'])) { $facadeClass = __NAMESPACE__ . '\\' . $service['alias']; $facadeAlias = ltrim($targetNamespace . '\\' . $service['alias'], '\\'); if (!class_exists($facadeAlias) && class_exists($facadeClass)) { // @codeCoverageIgnoreStart class_alias($facadeClass, $facadeAlias); // @codeCoverageIgnoreEnd } } } } /** * Returns the instance of the client that the facade operates on * * @return \Aws\Common\Client\AwsClientInterface */ public static function getClient() { return self::$serviceBuilder->get(static::getServiceBuilderKey()); } public static function __callStatic($method, $args) { return call_user_func_array(array(self::getClient(), $method), $args); } }