| 1 | <?php |
||
| 13 | class OptionProvider implements ProviderInterface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var AbstractAppMeta |
||
| 17 | */ |
||
| 18 | private $appMeta; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var bool |
||
| 22 | */ |
||
| 23 | private $isDebug; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @Named("isDebug=Madapaja\TwigModule\Annotation\TwigDebug") |
||
| 27 | * @SuppressWarnings(PHPMD.BooleanArgumentFlag) |
||
| 28 | */ |
||
| 29 | 2 | public function __construct(AbstractAppMeta $appMeta, $isDebug = false) |
|
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | 2 | public function get() |
|
| 47 | } |
||
| 48 |