Completed
Push — master ( 4404a1...95a059 )
by Paweł
22s queued 10s
created

ContentList::getItems()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of the Superdesk Web Publisher Core Bundle.
7
 *
8
 * Copyright 2016 Sourcefabric z.ú. and contributors.
9
 *
10
 * For the full copyright and license information, please see the
11
 * AUTHORS and LICENSE files distributed with this source code.
12
 *
13
 * @copyright 2016 Sourcefabric z.ú
14
 * @license http://www.superdesk.org/license
15
 */
16
17
namespace SWP\Bundle\CoreBundle\Model;
18
19
use SWP\Bundle\ContentBundle\Doctrine\ORM\TimestampableCancelTrait;
20
use SWP\Component\ContentList\Model\ContentList as BaseContentList;
21
use SWP\Component\MultiTenancy\Model\TenantAwareTrait;
22
23
class ContentList extends BaseContentList implements ContentListInterface, ContentListItemsCountInterface
24
{
25
    use TenantAwareTrait;
26
    use ContentListItemsCountTrait;
27
    use TimestampableCancelTrait;
28
29
    /**
30
     * NOT MAPPED property used for api purposes.
31
     */
32
    private $items;
33
34
    public function getItems(): array
35
    {
36
        return $this->items;
37
    }
38
39
    public function setItems(array $items): void
40
    {
41
        $this->items = $items;
42
    }
43
}
44