@@ 19-34 (lines=16) @@ | ||
16 | /** |
|
17 | * {@inheritdoc} |
|
18 | */ |
|
19 | protected function configure() |
|
20 | { |
|
21 | $this->setName(self::NAME) |
|
22 | ->setDescription('Update search index for specified entities with the same type') |
|
23 | ->addArgument( |
|
24 | 'class', |
|
25 | InputArgument::REQUIRED, |
|
26 | 'Full or compact class name of indexed entities ' . |
|
27 | '(f.e. Oro\Bundle\UserBundle\Entity\User or OroUserBundle:User)' |
|
28 | ) |
|
29 | ->addArgument( |
|
30 | 'identifiers', |
|
31 | InputArgument::REQUIRED|InputArgument::IS_ARRAY, |
|
32 | 'Identifiers of indexed entities (f.e. 42)' |
|
33 | ); |
|
34 | } |
|
35 | ||
36 | /** |
|
37 | * {@inheritdoc} |
@@ 17-32 (lines=16) @@ | ||
14 | /** |
|
15 | * {@inheritdoc} |
|
16 | */ |
|
17 | protected function configure() |
|
18 | { |
|
19 | $this |
|
20 | ->setName(self::NAME) |
|
21 | ->setDescription('Create Test') |
|
22 | ->addArgument( |
|
23 | 'class', |
|
24 | InputArgument::REQUIRED, |
|
25 | 'Full qualified class name or path to php file' |
|
26 | ) |
|
27 | ->addArgument( |
|
28 | 'type', |
|
29 | InputArgument::REQUIRED, |
|
30 | 'Test type. Supported types are: unit, entity, functional' |
|
31 | ); |
|
32 | } |
|
33 | ||
34 | /** |
|
35 | * {@inheritdoc} |