/**
  * @return ServiceContainer
  */
 public static function loadContainer($configFile)
 {
     if (!static::$container) {
         $container = new ServiceContainer();
         $iocBinder = new IocBinder($container);
         $iocBinder->preBind();
         $config = (require $configFile);
         $iocBinder->postBind($config);
         static::$container = $container;
     }
     return static::$container;
 }
 /**
  * @param InputInterface $input
  * @param OutputInterface $output
  * @return int
  */
 public function run(InputInterface $input = null, OutputInterface $output = null)
 {
     $this->binder->postBind($this->getConfig());
     return parent::run($input, $output);
 }