ec2dns\ec2dns::__construct PHP Method

__construct() public method

Creates the class.
public __construct ( ec2 $ec2 )
$ec2 ec2
    function __construct(ec2 $ec2)
    {
        $this->ec2 = $ec2;
        $this->dns = new \Hoa\Dns\Resolver(new \Hoa\Socket\Server($this->listener));
    }