|
2 | 2 |
|
3 | 3 | namespace Lkrms\LkUtil\Command\Generate; |
4 | 4 |
|
5 | | -use Lkrms\Cli\Catalog\CliOptionType; |
6 | | -use Lkrms\Cli\CliOption; |
7 | | -use Lkrms\Concept\Builder; |
8 | 5 | use Lkrms\LkUtil\Catalog\EnvVar; |
9 | 6 | use Lkrms\LkUtil\Command\Generate\Concept\GenerateCommand; |
10 | 7 | use Lkrms\Support\PhpDoc\PhpDoc; |
11 | 8 | use Lkrms\Support\PhpDoc\PhpDocTemplateTag; |
12 | 9 | use Lkrms\Support\Introspector; |
| 10 | +use Salient\Cli\Catalog\CliOptionType; |
| 11 | +use Salient\Cli\CliOption; |
13 | 12 | use Salient\Core\Utility\Pcre; |
14 | 13 | use Salient\Core\Utility\Reflect; |
15 | 14 | use Salient\Core\Utility\Str; |
16 | 15 | use Salient\Core\Utility\Test; |
| 16 | +use Salient\Core\AbstractBuilder; |
17 | 17 | use Closure; |
18 | 18 | use ReflectionMethod; |
19 | 19 | use ReflectionParameter; |
|
25 | 25 | class GenerateBuilder extends GenerateCommand |
26 | 26 | { |
27 | 27 | /** |
28 | | - * Properties and methods that shouldn't be surfaced by the Builder |
| 28 | + * Properties and methods that shouldn't be surfaced by the builder |
29 | 29 | */ |
30 | 30 | private const SKIP = [ |
31 | | - // These are displaced by Builder |
| 31 | + // These are displaced by AbstractBuilder |
32 | 32 | 'apply', |
33 | 33 | 'build', |
34 | 34 | 'getB', |
@@ -165,7 +165,7 @@ protected function run(string ...$args) |
165 | 165 | $classPrefix = $this->getClassPrefix(); |
166 | 166 |
|
167 | 167 | $service = $this->getFqcnAlias($classFqcn, $classClass); |
168 | | - $extends = $this->getFqcnAlias(Builder::class); |
| 168 | + $extends = $this->getFqcnAlias(AbstractBuilder::class); |
169 | 169 |
|
170 | 170 | $desc = $this->Description === null |
171 | 171 | ? "A fluent $classClass factory" |
|
0 commit comments