public function addCustomFilters()
    {
        foreach ($this->customFilters() as $name => $filter) {
            app('sanitizer')->extend($name, $filter);
        }
    }
public function addCustomFilters()
    {
        foreach ($this->customFilters() as $name => $filter) {
            app('sanitizer')->extend($name, $filter);
        }
    }
public function addCustomFilters ( ) { foreach ( $ this -> customFilters ( ) as $ name => $ filter ) { app ( 'sanitizer' ) -> extend ( $ name , $ filter ) ; } }
Add custom fields to the Sanitizer

@return void
Add custom fields to the Sanitizer