public function getPropertyValue($object, $name)
    {
        $property = new ReflectionProperty($object, $name);
        $property->setAccessible(true);
        return $property->getValue($object);
    }