public __construct ( |
||
$ec2 | Ec2 instance | |
$client | Scalr\Service\Aws\Client\ClientInterface | Client Interface |
public function __construct(Ec2 $ec2, ClientInterface $client)
{
$this->ec2 = $ec2;
$this->client = $client;
$this->versiondate = preg_replace('#^.+V(\\d{4})(\\d{2})(\\d{2})$#', '\\1-\\2-\\3', __NAMESPACE__);
}