original_string: public static function ahoy(array $config = [])
      {
          static $inst = null;
          if ($inst === null)
          {
              $inst = new Application();
              $inst->registry = Registry::ahoy();
              $inst->treasureChest = new Container();
              $inst->setConfig($config);
              $env = getenv('APPLICATION_ENV');
              if ($env) {
                  $inst->setEnvironment($env);
              }
          }
          return $inst;
      }
code: public static function ahoy(array $config = [])
      {
          static $inst = null;
          if ($inst === null)
          {
              $inst = new Application();
              $inst->registry = Registry::ahoy();
              $inst->treasureChest = new Container();
              $inst->setConfig($config);
              $env = getenv('APPLICATION_ENV');
              if ($env) {
                  $inst->setEnvironment($env);
              }
          }
          return $inst;
      }
code_tokens: public static function ahoy ( array $ config = [ ] ) { static $ inst = null ; if ( $ inst === null ) { $ inst = new Application ( ) ; $ inst -> registry = Registry :: ahoy ( ) ; $ inst -> treasureChest = new Container ( ) ; $ inst -> setConfig ( $ config ) ; $ env = getenv ( 'APPLICATION_ENV' ) ; if ( $ env ) { $ inst -> setEnvironment ( $ env ) ; } } return $ inst ; }
docstring: Ahoy! There nay be boardin without yer configuration
  
  @param array $config
  @return Application
docstring_tokens: Ahoy! There nay be boardin without yer configuration