Kraken\Environment\Environment::__construct PHP Method

__construct() public method

public __construct ( Kraken\Runtime\RuntimeContextInterface $context, string $filePath = '' )
$context Kraken\Runtime\RuntimeContextInterface
$filePath string
    public function __construct(RuntimeContextInterface $context, $filePath = '')
    {
        $this->invoker = $this->createInvoker();
        $this->context = $context;
        $this->loader = $this->createLoader($filePath);
        if ($filePath !== '') {
            $this->loader->load();
        }
    }