Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | final class PushCommand extends Command |
||
8 | { |
||
9 | private $command = 'PUSH'; |
||
10 | private $parameters = []; |
||
11 | |||
12 | /** |
||
13 | * Push a text/object into an object/bucket respectively |
||
14 | * PushCommand constructor. |
||
15 | * @param string $collection |
||
16 | * @param string $bucket |
||
17 | * @param string $object |
||
18 | * @param string $text |
||
19 | * @param string $locale - a Valid ISO 639-3 locale (eng = English), if set to `none` lexing will be disabled |
||
20 | */ |
||
21 | public function __construct(string $collection, string $bucket, string $object, string $text, string $locale=null) |
||
32 | } |
||
33 | } |