Example i got a proxy object from Doctrine manager.
// $entity is an proxy object from doctrine
$relectionClass = new \ReflectionClass($entity);
$properties = $class->getProperties();
$properties
will return us an empty array, because it reflected from doctrine proxy object.
How i can get list of all properties from my object if it's an doctrine proxy object?