Passed
Push — master ( 843207...29f725 )
by mark
36:53 queued 19:40
created

TwigBarChartPlugin::getTemplateName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
5
 * Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
6
 */
7
8
namespace SprykerShop\Yves\ChartWidget\Plugin\Twig;
9
10
class TwigBarChartPlugin extends AbstractTwigChartPlugin
11
{
12
    public const TWIG_FUNCTION_NAME = 'barChart';
13
14
    /**
15
     * @return string
16
     */
17
    protected function getTemplateName(): string
18
    {
19
        return '@ChartWidget/_template/bar-chart.twig';
20
    }
21
}
22