public function getFilteredOptions(string $filter) : array
    {
        $options = call_user_func($this->fieldOptionsLoader, $filter);
        return (new ArrayFieldOptions($options))->getAll();
    }
public function getFilteredOptions(string $filter) : array
    {
        $options = call_user_func($this->fieldOptionsLoader, $filter);
        return (new ArrayFieldOptions($options))->getAll();
    }
public function getFilteredOptions ( string $ filter ) : array { $ options = call_user_func ( $ this -> fieldOptionsLoader , $ filter ) ; return ( new ArrayFieldOptions ( $ options ) ) -> getAll ( ) ; }
Returns whether the options are filterable.

@param string $filter

@return IFieldOption[]
@throws InvalidOperationException
Returns whether the options are filterable .