@@ 42-61 (lines=20) @@ | ||
39 | $this->em = $em; |
|
40 | } |
|
41 | ||
42 | protected function configure() |
|
43 | { |
|
44 | $this |
|
45 | ->setName('kuma:dashboard:widget:googleanalytics:overviews:generate') |
|
46 | ->setDescription('Generate overviews') |
|
47 | ->addOption( |
|
48 | 'config', |
|
49 | null, |
|
50 | InputOption::VALUE_OPTIONAL, |
|
51 | 'Specify to only update one config', |
|
52 | false |
|
53 | ) |
|
54 | ->addOption( |
|
55 | 'segment', |
|
56 | null, |
|
57 | InputOption::VALUE_OPTIONAL, |
|
58 | 'Specify to only update one segment', |
|
59 | false |
|
60 | ); |
|
61 | } |
|
62 | ||
63 | /** |
|
64 | * @param InputInterface $input |
@@ 41-60 (lines=20) @@ | ||
38 | $this->em = $em; |
|
39 | } |
|
40 | ||
41 | protected function configure() |
|
42 | { |
|
43 | $this |
|
44 | ->setName('kuma:dashboard:widget:googleanalytics:overviews:list') |
|
45 | ->setDescription('List available overviews') |
|
46 | ->addOption( |
|
47 | 'config', |
|
48 | null, |
|
49 | InputOption::VALUE_OPTIONAL, |
|
50 | 'Specify to only list overviews of one config', |
|
51 | false |
|
52 | ) |
|
53 | ->addOption( |
|
54 | 'segment', |
|
55 | null, |
|
56 | InputOption::VALUE_OPTIONAL, |
|
57 | 'Specify to only list overviews of one segment', |
|
58 | false |
|
59 | ); |
|
60 | } |
|
61 | ||
62 | /** |
|
63 | * @param InputInterface $input |