/** * @param string $address * @param string $body * @return \Httpful\Response */ public function get($address, $body = '') { return Request::get('https://etkinlik.io/api/v1' . $address, Mime::JSON)->addHeader('X-ETKINLIK-TOKEN', $this->container->getToken())->body($body)->send(); }
public function __get($name) { return $this->container->offsetGet($name); }