Passed
Push — 6.4 ( 3d0a37...1ed39e )
by Christian
14:28 queued 13s
created

FlowTemplateCollection   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 10
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getExpectedClass() 0 3 1
A getApiAlias() 0 3 1
1
<?php declare(strict_types=1);
2
3
namespace Shopware\Core\Content\Flow\Aggregate\FlowTemplate;
4
5
use Shopware\Core\Framework\DataAbstractionLayer\EntityCollection;
6
7
/**
8
 * @package business-ops
9
 *
10
 * @extends EntityCollection<FlowTemplateEntity>
11
 */
12
class FlowTemplateCollection extends EntityCollection
13
{
14
    public function getApiAlias(): string
15
    {
16
        return 'flow_template_collection';
17
    }
18
19
    protected function getExpectedClass(): string
20
    {
21
        return FlowTemplateEntity::class;
22
    }
23
}
24