private function setWidgetType(PropertyInterface $property, $propInfo)
    {
        if (null !== $property->getWidgetType() || !isset($propInfo['inputType'])) {
            return;
        }

        $property->setWidgetType($propInfo['inputType']);
    }
private function setWidgetType(PropertyInterface $property, $propInfo)
    {
        if (null !== $property->getWidgetType() || !isset($propInfo['inputType'])) {
            return;
        }

        $property->setWidgetType($propInfo['inputType']);
    }
private function setWidgetType ( PropertyInterface $ property , $ propInfo ) { if ( null !== $ property -> getWidgetType ( ) || ! isset ( $ propInfo [ 'inputType' ] ) ) { return ; } $ property -> setWidgetType ( $ propInfo [ 'inputType' ] ) ; }
Set the widget type in the property.

@param PropertyInterface $property The property definition.
@param array             $propInfo The property info array.

@return void
Set the widget type in the property .