original_string: public function getFilters($to_array = true) {
  		if ($to_array === true) {
  			return $this->filters->toArray();
  		}
  
  		return $this->filters;
  	}
code: public function getFilters($to_array = true) {
  		if ($to_array === true) {
  			return $this->filters->toArray();
  		}
  
  		return $this->filters;
  	}
code_tokens: public function getFilters ( $ to_array = true ) { if ( $ to_array === true ) { return $ this -> filters -> toArray ( ) ; } return $ this -> filters ; }
docstring: Get all filters
  
  @param bool $to_array If true will return filters as array. Default set to false.
  
  @return array|Collection
docstring_tokens: Get all filters