original_string: public static function registerFilters()
      {
          $filters = [
              'equal'      => Equal::class,
              'notEqual'   => NotEqual::class,
              'ilike'      => Ilike::class,
              'like'       => Like::class,
              'gt'         => Gt::class,
              'lt'         => Lt::class,
              'between'    => Between::class,
              'group'      => Group::class,
              'where'      => Where::class,
              'in'         => In::class,
              'notIn'      => NotIn::class,
              'date'       => Date::class,
              'day'        => Day::class,
              'month'      => Month::class,
              'year'       => Year::class,
              'hidden'     => Hidden::class,
              'contains'   => Like::class,
              'startsWith' => StartsWith::class,
              'endsWith'   => EndsWith::class,
          ];
  
          foreach ($filters as $name => $filterClass) {
              static::extend($name, $filterClass);
          }
      }
code: public static function registerFilters()
      {
          $filters = [
              'equal'      => Equal::class,
              'notEqual'   => NotEqual::class,
              'ilike'      => Ilike::class,
              'like'       => Like::class,
              'gt'         => Gt::class,
              'lt'         => Lt::class,
              'between'    => Between::class,
              'group'      => Group::class,
              'where'      => Where::class,
              'in'         => In::class,
              'notIn'      => NotIn::class,
              'date'       => Date::class,
              'day'        => Day::class,
              'month'      => Month::class,
              'year'       => Year::class,
              'hidden'     => Hidden::class,
              'contains'   => Like::class,
              'startsWith' => StartsWith::class,
              'endsWith'   => EndsWith::class,
          ];
  
          foreach ($filters as $name => $filterClass) {
              static::extend($name, $filterClass);
          }
      }
code_tokens: public static function registerFilters ( ) { $ filters = [ 'equal' => Equal :: class , 'notEqual' => NotEqual :: class , 'ilike' => Ilike :: class , 'like' => Like :: class , 'gt' => Gt :: class , 'lt' => Lt :: class , 'between' => Between :: class , 'group' => Group :: class , 'where' => Where :: class , 'in' => In :: class , 'notIn' => NotIn :: class , 'date' => Date :: class , 'day' => Day :: class , 'month' => Month :: class , 'year' => Year :: class , 'hidden' => Hidden :: class , 'contains' => Like :: class , 'startsWith' => StartsWith :: class , 'endsWith' => EndsWith :: class , ] ; foreach ( $ filters as $ name => $ filterClass ) { static :: extend ( $ name , $ filterClass ) ; } }
docstring: Register builtin filters.
docstring_tokens: Register builtin filters .