public function BinaryFileResponseTest::provideRanges in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/BinaryFileResponseTest.php \Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest::provideRanges()
File
- vendor/
symfony/ http-foundation/ Tests/ BinaryFileResponseTest.php, line 83
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function provideRanges() {
return array(
array(
'bytes=1-4',
1,
4,
'bytes 1-4/35',
),
array(
'bytes=-5',
30,
5,
'bytes 30-34/35',
),
array(
'bytes=30-',
30,
5,
'bytes 30-34/35',
),
array(
'bytes=30-30',
30,
1,
'bytes 30-30/35',
),
array(
'bytes=30-34',
30,
5,
'bytes 30-34/35',
),
);
}