src/AwsInspector/SdkFactory.php
<?php
namespace AwsInspector;
/**
* @deprecated
*/
class SdkFactory {
/**
* @param string $client
* @return \Aws\AwsClientInterface
* @throws \Exception
* @deprecated
*/
public static function getClient($client, $profile=null, array $args=[]) {
static $profileManager;
if (empty($profileManager)) {
$profileManager = new \StackFormation\Profile\Manager();
}
return $profileManager->getClient($client, $profile, $args);
}
}