Conditions | 2 |
Paths | 2 |
Total Lines | 18 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
31 | public function all($spaceKey = "", array $options = []) |
||
32 | { |
||
33 | |||
34 | if (!empty($spaceKey)) { |
||
35 | $options = $this->mergeQueryOptions($options, [ |
||
36 | "query" => [ |
||
37 | "spaceKey" => $spaceKey |
||
38 | ] |
||
39 | ]); |
||
40 | } |
||
41 | |||
42 | $all = $this->get('content', $options); |
||
43 | return $this->deserialize( |
||
44 | $all, |
||
45 | ContentCollection::class |
||
46 | ); |
||
47 | |||
48 | } |
||
49 | |||
66 |