original_string: protected static function load(array $values)
      {
          $container = new static($values);
  
          $container['debugger'] = new Debugger();
          $container['grav'] = function (Container $container) {
              user_error('Calling $grav[\'grav\'] or {{ grav.grav }} is deprecated since Grav 1.6, just use $grav or {{ grav }}', E_USER_DEPRECATED);
  
              return $container;
          };
  
          $container->measureTime('_services', 'Services', function () use ($container) {
              $container->registerServices();
          });
  
          return $container;
      }
code: protected static function load(array $values)
      {
          $container = new static($values);
  
          $container['debugger'] = new Debugger();
          $container['grav'] = function (Container $container) {
              user_error('Calling $grav[\'grav\'] or {{ grav.grav }} is deprecated since Grav 1.6, just use $grav or {{ grav }}', E_USER_DEPRECATED);
  
              return $container;
          };
  
          $container->measureTime('_services', 'Services', function () use ($container) {
              $container->registerServices();
          });
  
          return $container;
      }
code_tokens: protected static function load ( array $ values ) { $ container = new static ( $ values ) ; $ container [ 'debugger' ] = new Debugger ( ) ; $ container [ 'grav' ] = function ( Container $ container ) { user_error ( 'Calling $grav[\'grav\'] or {{ grav.grav }} is deprecated since Grav 1.6, just use $grav or {{ grav }}' , E_USER_DEPRECATED ) ; return $ container ; } ; $ container -> measureTime ( '_services' , 'Services' , function ( ) use ( $ container ) { $ container -> registerServices ( ) ; } ) ; return $ container ; }
docstring: Initialize and return a Grav instance
  
  @param  array $values
  
  @return static
docstring_tokens: Initialize and return a Grav instance