public function getFilter()
    {
        if (!($this->filter instanceof FilterComposite) && !is_callable($this->filter)) {
            $this->filter = new FilterComposite([FilterHelper::create($this->filter)]);
        }

        return $this->filter;
    }
public function getFilter()
    {
        if (!($this->filter instanceof FilterComposite) && !is_callable($this->filter)) {
            $this->filter = new FilterComposite([FilterHelper::create($this->filter)]);
        }

        return $this->filter;
    }
public function getFilter ( ) { if ( ! ( $ this -> filter instanceof FilterComposite ) && ! is_callable ( $ this -> filter ) ) { $ this -> filter = new FilterComposite ( [ FilterHelper :: create ( $ this -> filter ) ] ) ; } return $ this -> filter ; }
Method to get property Filter

@return  string|FilterInterface|callable
Method to get property Filter