You are here

public function Request::getETags in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Request.php \Symfony\Component\HttpFoundation\Request::getETags()

Gets the Etags.

Return value

array The entity tags

File

vendor/symfony/http-foundation/Request.php, line 1522

Class

Request
Request represents an HTTP request.

Namespace

Symfony\Component\HttpFoundation

Code

public function getETags() {
  return preg_split('/\\s*,\\s*/', $this->headers
    ->get('if_none_match'), null, PREG_SPLIT_NO_EMPTY);
}