@@ 29-40 (lines=12) @@ | ||
26 | * |
|
27 | * @return mixed |
|
28 | */ |
|
29 | public function fire() |
|
30 | { |
|
31 | $this->info('Generating optimized autoload components.'); |
|
32 | ||
33 | if ($component = $this->argument('component')) { |
|
34 | $this->dump($component); |
|
35 | } else { |
|
36 | foreach ($this->laravel['components']->all() as $component) { |
|
37 | $this->dump($component->getStudlyName()); |
|
38 | } |
|
39 | } |
|
40 | } |
|
41 | ||
42 | public function dump($component) |
|
43 | { |
@@ 30-41 (lines=12) @@ | ||
27 | * |
|
28 | * @return mixed |
|
29 | */ |
|
30 | public function fire() |
|
31 | { |
|
32 | if ($component = $this->argument('component')) { |
|
33 | $this->publishConfiguration($component); |
|
34 | ||
35 | return; |
|
36 | } |
|
37 | ||
38 | foreach ($this->laravel['components']->enabled() as $component) { |
|
39 | $this->publishConfiguration($component->getName()); |
|
40 | } |
|
41 | } |
|
42 | ||
43 | /** |
|
44 | * @param string $component |