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

FlowTemplateConfigField::getSerializerClass()   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\DataAbstractionLayer\Field;
4
5
use Shopware\Core\Content\Flow\DataAbstractionLayer\FieldSerializer\FlowTemplateConfigFieldSerializer;
6
use Shopware\Core\Framework\DataAbstractionLayer\Field\JsonField;
7
8
/**
9
 * @package business-ops
10
 *
11
 * @internal
12
 */
13
class FlowTemplateConfigField extends JsonField
14
{
15
    public function __construct(string $storageName, string $propertyName)
16
    {
17
        $this->storageName = $storageName;
18
        parent::__construct($storageName, $propertyName);
19
    }
20
21
    protected function getSerializerClass(): string
22
    {
23
        return FlowTemplateConfigFieldSerializer::class;
24
    }
25
}
26