public function getProtectedProperty($object, $property)
{
$reflection = new ReflectionClass($object);
$reflection_property = $reflection->getProperty($property);
$reflection_property->setAccessible(true);
return $reflection_property->getValue($object);
}