lib/Command/Groups.php 1 location
|
@@ 138-150 (lines=13) @@
|
| 135 |
|
} |
| 136 |
|
|
| 137 |
|
|
| 138 |
|
private function getCircleIdAndGroupFromArguments(InputInterface $input) { |
| 139 |
|
if ($input->getArgument('circle_id') === null |
| 140 |
|
|| $input->getArgument('group') === null) { |
| 141 |
|
throw new CommandMissingArgumentException( |
| 142 |
|
|
| 143 |
|
); |
| 144 |
|
// $this->l10n->t( |
| 145 |
|
// 'Missing argument: {cmd} circle_id group', ['cmd' => './occ circles:link'] |
| 146 |
|
// ) |
| 147 |
|
} |
| 148 |
|
|
| 149 |
|
return [$input->getArgument('circle_id'), $input->getArgument('group')]; |
| 150 |
|
} |
| 151 |
|
|
| 152 |
|
} |
| 153 |
|
|
lib/Command/SyncContact.php 1 location
|
@@ 127-137 (lines=11) @@
|
| 124 |
|
} |
| 125 |
|
|
| 126 |
|
|
| 127 |
|
private function getCircleIdAndGroupFromArguments(InputInterface $input) { |
| 128 |
|
if ($input->getArgument('circle_id') === null |
| 129 |
|
|| $input->getArgument('group') === null) { |
| 130 |
|
throw new CommandMissingArgumentException(); |
| 131 |
|
// $this->l10n->t( |
| 132 |
|
// 'Missing argument: {cmd} circle_id group', ['cmd' => './occ circles:link'] |
| 133 |
|
// ) |
| 134 |
|
} |
| 135 |
|
|
| 136 |
|
return [$input->getArgument('circle_id'), $input->getArgument('group')]; |
| 137 |
|
} |
| 138 |
|
|
| 139 |
|
} |
| 140 |
|
|