private function RequestTest::disableHttpMethodParameterOverride in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/RequestTest.php \Symfony\Component\HttpFoundation\Tests\RequestTest::disableHttpMethodParameterOverride()
2 calls to RequestTest::disableHttpMethodParameterOverride()
- RequestTest::testCreateFromGlobals in vendor/
symfony/ http-foundation/ Tests/ RequestTest.php - @dataProvider provideOverloadedMethods
- RequestTest::testGetSetMethod in vendor/
symfony/ http-foundation/ Tests/ RequestTest.php - @covers Symfony\Component\HttpFoundation\Request::setMethod @covers Symfony\Component\HttpFoundation\Request::getMethod
File
- vendor/
symfony/ http-foundation/ Tests/ RequestTest.php, line 1540
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
private function disableHttpMethodParameterOverride() {
$class = new \ReflectionClass('Symfony\\Component\\HttpFoundation\\Request');
$property = $class
->getProperty('httpMethodParameterOverride');
$property
->setAccessible(true);
$property
->setValue(false);
}