src/Service/FieldType.php
public function getAllWithOptions($bOnlySelectable = false)
    {
        $aAvailable = $this->getAll($bOnlySelectable);
        $aOut       = [];

        foreach ($aAvailable as $oType) {
            $sClassName = $oType->slug;
            if ($sClassName::SUPPORTS_OPTIONS) {
                $aOut[] = $oType;
            }
        }

        return $aOut;
    }
public function getAllWithOptions($bOnlySelectable = false)
    {
        $aAvailable = $this->getAll($bOnlySelectable);
        $aOut       = [];

        foreach ($aAvailable as $oType) {
            $sClassName = $oType->slug;
            if ($sClassName::SUPPORTS_OPTIONS) {
                $aOut[] = $oType;
            }
        }

        return $aOut;
    }
public function getAllWithOptions ( $ bOnlySelectable = false ) { $ aAvailable = $ this -> getAll ( $ bOnlySelectable ) ; $ aOut = [ ] ; foreach ( $ aAvailable as $ oType ) { $ sClassName = $ oType -> slug ; if ( $ sClassName :: SUPPORTS_OPTIONS ) { $ aOut [ ] = $ oType ; } } return $ aOut ; }
Returns the types which support defining multiple options

@param  boolean $bOnlySelectable Filter out field types which are not selectable by the user

@return array
Returns the types which support defining multiple options