/** * @param $endPoint * * @return Frame */ public function endPoint($endPoint) { if (is_string($endPoint)) { $this->_endPoint = $endPoint; $this->_client->of($endPoint); } return $this; }