Request::getETags PHP 메소드

getETags() 공개 정적인 메소드

Gets the Etags.
public static getETags ( ) : array
리턴 array The entity tags
        public static function getETags()
        {
            //Method inherited from \Symfony\Component\HttpFoundation\Request
            return \Illuminate\Http\Request::getETags();
        }

Usage Example

예제 #1
0
파일: Sender.php 프로젝트: rawebone/wilson
 /**
  * Returns whether the entity tags sent with the request match that
  * given by the response.
  *
  * @return bool
  */
 protected function matchEntityTags()
 {
     if ($responding = $this->response->getHeader("ETag")) {
         $requested = $this->request->getETags();
         return $requested && (in_array($responding, $requested) || in_array("*", $requested));
     }
     return false;
 }
All Usage Examples Of Request::getETags