public function AcceptHeaderTest::provideSortingData in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/AcceptHeaderTest.php \Symfony\Component\HttpFoundation\Tests\AcceptHeaderTest::provideSortingData()
File
- vendor/
symfony/ http-foundation/ Tests/ AcceptHeaderTest.php, line 94
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function provideSortingData() {
return array(
'quality has priority' => array(
'*;q=0.3,ISO-8859-1,utf-8;q=0.7',
array(
'ISO-8859-1',
'utf-8',
'*',
),
),
'order matters when q is equal' => array(
'*;q=0.3,ISO-8859-1;q=0.7,utf-8;q=0.7',
array(
'ISO-8859-1',
'utf-8',
'*',
),
),
'order matters when q is equal2' => array(
'*;q=0.3,utf-8;q=0.7,ISO-8859-1;q=0.7',
array(
'utf-8',
'ISO-8859-1',
'*',
),
),
);
}