/**
  * @test
  */
 public function it_does_not_store_the_di_array_in_the_config()
 {
     $options = $this->buildConfigs();
     $options['di'] = ['alias' => ['class' => 'stdClass']];
     $container = new Container($options);
     $this->assertArrayNotHasKey('di', $container->get('config'));
 }
 /**
  * @param array                $options
  * @param ConvertResponse|null $converter
  */
 public function __construct(array $options = [], ConvertResponse $converter = null)
 {
     $options = $this->ensureTimeZone($options);
     parent::__construct($options);
     $this->registerApiCredentials();
     $this->registerApiBindings();
     $this->converter = $this->checkConverter($converter);
 }
 /**
  * @param array|null      $options
  * @param Filesystem|null $files
  */
 public function __construct(array $options = [], Filesystem $files = null)
 {
     parent::__construct($options);
     // Allow for Filesystem to be injected for testing or if null, then auto create it.
     $this->files = $files ?: $this->get('Illuminate\\Filesystem\\Filesystem');
 }