protected function getManagedProperties(): array
    {
        $properties = $this->entityMap->getProperties();

        $attributesName = $this->entityMap->getAttributesArrayName();

        return $attributesName == null ? $properties : array_merge($properties, [$attributesName]);
    }
protected function getManagedProperties(): array
    {
        $properties = $this->entityMap->getProperties();

        $attributesName = $this->entityMap->getAttributesArrayName();

        return $attributesName == null ? $properties : array_merge($properties, [$attributesName]);
    }
protected function getManagedProperties ( ) : array { $ properties = $ this -> entityMap -> getProperties ( ) ; $ attributesName = $ this -> entityMap -> getAttributesArrayName ( ) ; return $ attributesName == null ? $ properties : array_merge ( $ properties , [ $ attributesName ] ) ; }
Return properties that will be extracted from the entity.

@return array
Return properties that will be extracted from the entity .