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

FlowTemplateCollection::getExpectedClass()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
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