when I see parameters in a function in the form of a class name, what does it mean? how can you google it? it is clear that if there is an array in front of a variable, it must be a variable of the array type, but if the class is in front of the variable, what does this mean?
public function scopeFilter(Builder $builder, array $filter)
{ /**/ }
I tried to google but couldn't find it