Completed
Push — master ( aa49d0...a0c370 )
by Daniel
12:42
created

DynamicContentBase::isDynamic()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
c 0
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Silverback\ApiComponentBundle\Entity\Content\Page\Dynamic;
4
5
use Silverback\ApiComponentBundle\Entity\Content\Page\PageTrait;
6
use Silverback\ApiComponentBundle\Entity\PublishableTrait;
7
use Silverback\ApiComponentBundle\Entity\Route\RouteAwareTrait;
8
use Silverback\ApiComponentBundle\Entity\SortableTrait;
9
use Silverback\ApiComponentBundle\Entity\TimestampedEntityTrait;
10
use Symfony\Component\Serializer\Annotation\Groups;
11
12
abstract class DynamicContentBase implements DynamicContentInterface
13
{
14
    use RouteAwareTrait;
15
    use PublishableTrait;
16
    use SortableTrait;
17
    use TimestampedEntityTrait;
18
    use PageTrait;
19
20
    /**
21
     * @Groups({"default_read"})
22
     */
23
    public function isDynamic(): bool
24
    {
25
        return true;
26
    }
27
}
28