/** * @dataProvider providerParseIfMatch */ public function testParseIfMatch($expected, $value) { $result = Header::parseIfMatch($value); $this->assertEquals($expected, $result); }
/** * Gets the * Enter description here ... * @return Ambigous <string, multitype:, NULL, multitype:NULL > */ public function getIfNoneMatch() { if (isset($this->ifNoneMatch)) { return $this->ifNoneMatch; } $header = $this->getHeader(Header::HEADER_IF_NONE_MATCH); if (!$header) { return $this->ifNoneMatch = array(); } return $this->ifNoneMatch = Header::parseIfMatch($header); }