You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.
class AgAcceptHeaders extends AbstractHelper { /** * Render a list group of Accept headers composed by the service * * @param Service $service * @return string */ public function __invoke(Service $service) { $view = $this->getView(); $types = array_map(function ($type) use ($view) { return sprintf('<div class="list-group-item">%s</div>', $view->escapeHtml($type)); }, $service->getRequestAcceptTypes()); return implode("\n", $types); } }
The text was updated successfully, but these errors were encountered:
tasselchof
added a commit
to tasselchof/zf-apigility-documentation
that referenced
this issue
Feb 20, 2018
in class
class AgAcceptHeaders extends AbstractHelper { /** * Render a list group of Accept headers composed by the service * * @param Service $service * @return string */ public function __invoke(Service $service) { $view = $this->getView(); $types = array_map(function ($type) use ($view) { return sprintf('<div class="list-group-item">%s</div>', $view->escapeHtml($type)); }, $service->getRequestAcceptTypes()); return implode("\n", $types); } }
The text was updated successfully, but these errors were encountered: