class AlligatorTaxExtension extends Twig_Extension

Class AlligatorTaxExtension is injected as twig.extension.alligator.tax service. AlligatorTaxExtension handles the logic and provides necessary data for managed entity in twig.

Methods

__construct(TaxManager $taxManager)

No description

getFunctions()

{@inheritdoc}

float
getCurrentTax()

No description

Details

at line 28
__construct(TaxManager $taxManager)

Parameters

TaxManager $taxManager

at line 36
getFunctions()

{@inheritdoc}

at line 46
float getCurrentTax()

Return Value

float