private function getObjectPropertiesValues($object)
    {
        $properties = Core::get()->getGettablePropertiesOfObject($object);
        $finalProperties = [];

        foreach ($properties as $property) {
            $finalProperties[$property] = Core::get()->getObjectService()->getObjectProperty($object, $property);
        }

        return $finalProperties;
    }
private function getObjectPropertiesValues($object)
    {
        $properties = Core::get()->getGettablePropertiesOfObject($object);
        $finalProperties = [];

        foreach ($properties as $property) {
            $finalProperties[$property] = Core::get()->getObjectService()->getObjectProperty($object, $property);
        }

        return $finalProperties;
    }
private function getObjectPropertiesValues ( $ object ) { $ properties = Core :: get ( ) -> getGettablePropertiesOfObject ( $ object ) ; $ finalProperties = [ ] ; foreach ( $ properties as $ property ) { $ finalProperties [ $ property ] = Core :: get ( ) -> getObjectService ( ) -> getObjectProperty ( $ object , $ property ) ; } return $ finalProperties ; }
Will return all the accessible properties of the given object instance.

@param object $object
@return array
Will return all the accessible properties of the given object instance .