public function getCdnPopDetails($pop) { if (!$pop) { throw new BadMethodCallException('Parameter $pop is missing.'); } return $this->get('cdn/pops/' . $pop)->send()->getBody(true); }