original_string: private function getConfigFromContainer(ContainerInterface $container)
      {
          if (! $container->has('config')) {
              return [];
          }
  
          $config = $container->get('config');
  
          if (! isset($config['zf-mvc-auth']['authorization'])) {
              return [];
          }
  
          return $config['zf-mvc-auth']['authorization'];
      }
code: private function getConfigFromContainer(ContainerInterface $container)
      {
          if (! $container->has('config')) {
              return [];
          }
  
          $config = $container->get('config');
  
          if (! isset($config['zf-mvc-auth']['authorization'])) {
              return [];
          }
  
          return $config['zf-mvc-auth']['authorization'];
      }
code_tokens: private function getConfigFromContainer ( ContainerInterface $ container ) { if ( ! $ container -> has ( 'config' ) ) { return [ ] ; } $ config = $ container -> get ( 'config' ) ; if ( ! isset ( $ config [ 'zf-mvc-auth' ] [ 'authorization' ] ) ) { return [ ] ; } return $ config [ 'zf-mvc-auth' ] [ 'authorization' ] ; }
docstring: Retrieve configuration from the container.
  
  Attempts to pull the 'config' service, and, further, the
  zf-mvc-auth.authorization segment.
  
  @param ContainerInterface $container
  @return array
docstring_tokens: Retrieve configuration from the container .