public function toArray()
    {
        return [
            $this->id,
            $this->filterName,
            $this->operator,
            serialize($this->value),
        ];
    }
public function toArray()
    {
        return [
            $this->id,
            $this->filterName,
            $this->operator,
            serialize($this->value),
        ];
    }
public function toArray ( ) { return [ $ this -> id , $ this -> filterName , $ this -> operator , serialize ( $ this -> value ) , ] ; }
Returns the array representation of the active filter.

@return array
Returns the array representation of the active filter .