1 | <?php |
||
9 | class MakeAnonymizerCommand extends GeneratorCommand |
||
10 | { |
||
11 | /** |
||
12 | * The console command name. |
||
13 | * |
||
14 | * @var string |
||
15 | */ |
||
16 | protected $name = 'make:anonymizer'; |
||
17 | |||
18 | /** |
||
19 | * The console command description. |
||
20 | * |
||
21 | * @var string |
||
22 | */ |
||
23 | protected $description = 'Create a new anonymizer class'; |
||
24 | |||
25 | /** |
||
26 | * The type of class being generated. |
||
27 | * |
||
28 | * @var string |
||
29 | */ |
||
30 | protected $type = 'Anonymizer'; |
||
31 | |||
32 | /** |
||
33 | * The Composer instance. |
||
34 | * |
||
35 | * @var \Illuminate\Support\Composer |
||
36 | */ |
||
37 | protected $composer; |
||
38 | |||
39 | /** |
||
40 | * Create a new command instance. |
||
41 | * |
||
42 | * @param \Illuminate\Filesystem\Filesystem $files |
||
43 | * @param \Illuminate\Support\Composer $composer |
||
44 | */ |
||
45 | public function __construct(Filesystem $files, Composer $composer) |
||
51 | |||
52 | public function handle() |
||
56 | |||
57 | /** |
||
58 | * Execute the console command. |
||
59 | * |
||
60 | * @return void |
||
61 | */ |
||
62 | public function fire() |
||
68 | |||
69 | /** |
||
70 | * Get the stub file for the generator. |
||
71 | * |
||
72 | * @return string |
||
73 | */ |
||
74 | protected function getStub() |
||
78 | |||
79 | /** |
||
80 | * Get the destination class path. |
||
81 | * |
||
82 | * @param string $name |
||
83 | * @return string |
||
84 | */ |
||
85 | protected function getPath($name) |
||
89 | |||
90 | /** |
||
91 | * Parse the name and format according to the root namespace. |
||
92 | * |
||
93 | * @param string $name |
||
94 | * @return string |
||
95 | */ |
||
96 | protected function parseName($name) |
||
100 | } |
||
101 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.