Completed
Push — develop ( 8f243f...74761d )
by Daniel
06:56
created

Collection   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 13
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getResource() 0 3 1
1
<?php
2
3
namespace Silverback\ApiComponentBundle\Entity\Content\Component\Collection;
4
5
use ApiPlatform\Core\Annotation\ApiResource;
6
use ApiPlatform\Core\Annotation\ApiSubresource;
7
use Silverback\ApiComponentBundle\Entity\Content\Component\AbstractComponent;
8
9
/**
10
 * @ApiResource()
11
 * @author Daniel West <[email protected]>
12
 */
13
class Collection extends AbstractComponent
14
{
15
    /**
16
     * @var mixed
17
     */
18
    private $resource;
19
20
    /**
21
     * @return mixed
22
     */
23
    public function getResource()
24
    {
25
        return $this->resource;
26
    }
27
}
28