public function getBestAccept() { $accept = parent::getBestAccept(); if ($accept == '*/*') { $accept = ''; } if (strpos($accept, ';') !== false) { $tmp = explode(';', $accept); $accept = $tmp[0]; $this->producesCharset = $this->parseCharset($tmp[1]); } if (empty($accept)) { $accept = $this->getDI()->get('apibird')->getDefaultProduces(); } return $accept; }
public function getBestAccept() { return parent::getBestAccept(); }