/** * returns a Collection of DNS::Domain objects * * @api * @param array $filter key/value pairs to use as query strings * @return \OpenCloud\Collection */ public function domainList($filter = array()) { $url = $this->url(Resource\Domain::ResourceName(), $filter); return $this->collection('OpenCloud\\DNS\\Resource\\Domain', $url); }