/** * returns a Subdomain object (child of current domain) * */ public function subdomain($info = array()) { $resource = new Subdomain($this->getService()); $resource->setParent($this); $resource->populate($info); return $resource; }