Allow setting protected properties

remotes/origin/poc-doctrine-migrations
Joas Schilling 2015-04-27 15:22:48 +07:00 committed by Bjoern Schiessle
parent 4ef9df8750
commit cf4a6874fb
1 changed files with 4 additions and 0 deletions

@ -523,6 +523,10 @@ class Test_Helper extends \Test\TestCase {
$property->setAccessible(true);
if (!empty($parameters)) {
$property->setValue($object, array_pop($parameters));
}
return $property->getValue($object);
}