Total Complexity | 3 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class Titles |
||
9 | { |
||
10 | /** |
||
11 | * @var Csv |
||
12 | */ |
||
13 | private $csv; |
||
14 | |||
15 | /** |
||
16 | * Titles constructor. |
||
17 | * @param Csv $csv |
||
18 | */ |
||
19 | 1 | public function __construct(Csv $csv) |
|
22 | } |
||
23 | |||
24 | /** |
||
25 | * Get titles by csv |
||
26 | * https://cybozudev.zendesk.com/hc/ja/articles/202124764 |
||
27 | * |
||
28 | * @return string |
||
29 | * @throws \InvalidArgumentException |
||
30 | */ |
||
31 | 1 | public function getByCsv(): string |
|
34 | } |
||
35 | |||
36 | /** |
||
37 | * Post titles by csv |
||
38 | * https://cybozudev.zendesk.com/hc/ja/articles/202361180 |
||
39 | * |
||
40 | * @param $filename |
||
41 | * @return int |
||
42 | * @throws \InvalidArgumentException |
||
43 | */ |
||
44 | 3 | public function postByCsv($filename): int |
|
49 |