public function OutputRulesTest::getTraverserProtectedProperty in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/masterminds/html5/test/HTML5/Serializer/OutputRulesTest.php \Masterminds\HTML5\Tests\Serializer\OutputRulesTest::getTraverserProtectedProperty()
File
- vendor/
masterminds/ html5/ test/ HTML5/ Serializer/ OutputRulesTest.php, line 43
Class
Namespace
Masterminds\HTML5\Tests\SerializerCode
public function getTraverserProtectedProperty($name) {
$class = new \ReflectionClass('\\Masterminds\\HTML5\\Serializer\\Traverser');
$property = $class
->getProperty($name);
$property
->setAccessible(true);
return $property;
}