original_string: private function initContainer()
      {
          $dicons = (array)$this->app->config('container.dicon');
          $container = ContainerFactory::create();
          foreach ($dicons as $dicon) {
              $file = $this->app->getLoader()->find($dicon)->first();
              $container->import($file);
          }
  
          $container->register('framework', $this);
          $container->register('application', $this->app);
          $container->register('loader', $this->app->getLoader());
  
          $this->setContainer($container);
          $this->app->setContainer($container);
  
          // callback
          foreach ((array)$this->app->config('container.callback.initialized') as $callback) {
              $callback($container);
          }
      }
code: private function initContainer()
      {
          $dicons = (array)$this->app->config('container.dicon');
          $container = ContainerFactory::create();
          foreach ($dicons as $dicon) {
              $file = $this->app->getLoader()->find($dicon)->first();
              $container->import($file);
          }
  
          $container->register('framework', $this);
          $container->register('application', $this->app);
          $container->register('loader', $this->app->getLoader());
  
          $this->setContainer($container);
          $this->app->setContainer($container);
  
          // callback
          foreach ((array)$this->app->config('container.callback.initialized') as $callback) {
              $callback($container);
          }
      }
code_tokens: private function initContainer ( ) { $ dicons = ( array ) $ this -> app -> config ( 'container.dicon' ) ; $ container = ContainerFactory :: create ( ) ; foreach ( $ dicons as $ dicon ) { $ file = $ this -> app -> getLoader ( ) -> find ( $ dicon ) -> first ( ) ; $ container -> import ( $ file ) ; } $ container -> register ( 'framework' , $ this ) ; $ container -> register ( 'application' , $ this -> app ) ; $ container -> register ( 'loader' , $ this -> app -> getLoader ( ) ) ; $ this -> setContainer ( $ container ) ; $ this -> app -> setContainer ( $ container ) ; // callback foreach ( ( array ) $ this -> app -> config ( 'container.callback.initialized' ) as $ callback ) { $ callback ( $ container ) ; } }
docstring: initialize container.
  
  @access  private
docstring_tokens: initialize container .