app/Console/Commands/ModelMakeCommand.php
protected function createFilter()
    {
        $model = Str::studly(class_basename($this->argument('name')));

        $this->call('make:filter', [
            'name' => $model.'Filter',
        ]);
    }
protected function createFilter()
    {
        $model = Str::studly(class_basename($this->argument('name')));

        $this->call('make:filter', [
            'name' => $model.'Filter',
        ]);
    }
protected function createFilter ( ) { $ model = Str :: studly ( class_basename ( $ this -> argument ( 'name' ) ) ) ; $ this -> call ( 'make:filter' , [ 'name' => $ model . 'Filter' , ] ) ; }
Create a filter for the model.

@return void
Create a filter for the model .