src/RouteSupport.php
/**
     * Removes all filters.
     *
     * @return string
     */
Removes all filters.
@return string
Removes all filters . @return string
public function truncate(): string
    {
        $filters = force_assoc_array($this->filter->availableFilters());
        $request = clone $this->request;
        $queryBag = $request->query;
        foreach (array_keys($filters) as $filter) {
            $queryBag->remove($filter);
        }
        return $request->fullUrlWithNiceQuery($queryBag->all());
    }
public function truncate ( ) : string { $ filters = force_assoc_array ( $ this -> filter -> availableFilters ( ) ) ; $ request = clone $ this -> request ; $ queryBag = $ request -> query ; foreach ( array_keys ( $ filters ) as $ filter ) { $ queryBag -> remove ( $ filter ) ; } return $ request -> fullUrlWithNiceQuery ( $ queryBag -> all ( ) ) ; }
Removes all filters.
Removes all filters .