original_string: protected function getContainer()
      {
          if (!isset($GLOBALS['container'])) {
              $GLOBALS['container'] = new PimpleGate([], $this->getSymfonyContainer());
          }
          $container = $GLOBALS['container'];
  
          if (!$container instanceof PimpleGate) {
              throw new \RuntimeException(
                  'Dependency container is incompatible class. Expected PimpleGate but found ' . get_class($container),
                  1
              );
          }
  
          return $container;
      }
code: protected function getContainer()
      {
          if (!isset($GLOBALS['container'])) {
              $GLOBALS['container'] = new PimpleGate([], $this->getSymfonyContainer());
          }
          $container = $GLOBALS['container'];
  
          if (!$container instanceof PimpleGate) {
              throw new \RuntimeException(
                  'Dependency container is incompatible class. Expected PimpleGate but found ' . get_class($container),
                  1
              );
          }
  
          return $container;
      }
code_tokens: protected function getContainer ( ) { if ( ! isset ( $ GLOBALS [ 'container' ] ) ) { $ GLOBALS [ 'container' ] = new PimpleGate ( [ ] , $ this -> getSymfonyContainer ( ) ) ; } $ container = $ GLOBALS [ 'container' ] ; if ( ! $ container instanceof PimpleGate ) { throw new \ RuntimeException ( 'Dependency container is incompatible class. Expected PimpleGate but found ' . get_class ( $ container ) , 1 ) ; } return $ container ; }
docstring: Get the currently defined global container or create it if no container is present so far.
  
  @return PimpleGate
  
  @throws \RuntimeException When an incompatible DIC is encountered.
  
  @SuppressWarnings(PHPMD.Superglobals)
  @SuppressWarnings(PHPMD.CamelCaseVariableName)
docstring_tokens: Get the currently defined global container or create it if no container is present so far .