public function getElligibleProperties(RdfClass $class)
    {
        $properties = $this->getItemService()->getClazzProperties($class, new RdfClass(self::ITEM_CLASS_URI));
        return array_filter(
            $properties,
            function ($property) {
                if(in_array($property->getUri(), self::$excludedPropUris)){
                    return false;
                }
                $widget = $property->getWidget();
                return !is_null($widget) && in_array($widget->getUri(), self::$supportedWidgetUris);
            }
        );
    }
public function getElligibleProperties(RdfClass $class)
    {
        $properties = $this->getItemService()->getClazzProperties($class, new RdfClass(self::ITEM_CLASS_URI));
        return array_filter(
            $properties,
            function ($property) {
                if(in_array($property->getUri(), self::$excludedPropUris)){
                    return false;
                }
                $widget = $property->getWidget();
                return !is_null($widget) && in_array($widget->getUri(), self::$supportedWidgetUris);
            }
        );
    }
public function getElligibleProperties ( RdfClass $ class ) { $ properties = $ this -> getItemService ( ) -> getClazzProperties ( $ class , new RdfClass ( self :: ITEM_CLASS_URI ) ) ; return array_filter ( $ properties , function ( $ property ) { if ( in_array ( $ property -> getUri ( ) , self :: $ excludedPropUris ) ) { return false ; } $ widget = $ property -> getWidget ( ) ; return ! is_null ( $ widget ) && in_array ( $ widget -> getUri ( ) , self :: $ supportedWidgetUris ) ; } ) ; }
Get the properties from a class that can be exposed

@param RdfClass $class the $class

@return RdfProperties[] the list of eligible properties
Get the properties from a class that can be exposed