protected function ContainerTest::getField in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/Tests/ContainerTest.php \Symfony\Component\DependencyInjection\Tests\ContainerTest::getField()
5 calls to ContainerTest::getField()
- ContainerTest::testAddScope in vendor/
symfony/ dependency-injection/ Tests/ ContainerTest.php - ContainerTest::testEnterChildScopeRecursively in vendor/
symfony/ dependency-injection/ Tests/ ContainerTest.php - ContainerTest::testEnterLeaveScopeWithChildScopes in vendor/
symfony/ dependency-injection/ Tests/ ContainerTest.php - ContainerTest::testEnterScopeRecursivelyWithInactiveChildScopes in vendor/
symfony/ dependency-injection/ Tests/ ContainerTest.php - ContainerTest::testSetAlsoSetsScopedService in vendor/
symfony/ dependency-injection/ Tests/ ContainerTest.php
File
- vendor/
symfony/ dependency-injection/ Tests/ ContainerTest.php, line 612
Class
Namespace
Symfony\Component\DependencyInjection\TestsCode
protected function getField($obj, $field) {
$reflection = new \ReflectionProperty($obj, $field);
$reflection
->setAccessible(true);
return $reflection
->getValue($obj);
}