| Total Complexity | 3 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class EnvAwareInitializer implements ContextInitializer |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Holds the environment. |
||
| 21 | * |
||
| 22 | * @var Env |
||
| 23 | */ |
||
| 24 | protected $env; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * EnvAwareInitializer constructor. |
||
| 28 | * |
||
| 29 | * @param Env $env |
||
| 30 | */ |
||
| 31 | public function __construct(Env $env) |
||
| 32 | { |
||
| 33 | $this->env = $env; |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Initializes provided context. |
||
| 38 | * |
||
| 39 | * @param Context $context |
||
| 40 | */ |
||
| 41 | public function initializeContext(Context $context) |
||
| 48 | } |
||
| 49 | } |