Allow setting protected properties

remotes/origin/poc-doctrine-migrations
Joas Schilling 11 years ago committed by Bjoern Schiessle
parent 4ef9df8750
commit cf4a6874fb
  1. 4
      tests/lib/helper.php

@ -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);
}

Loading…
Cancel
Save