original_string: public static function getInstance($configFile='config.yml')
      {
          static $instance = null;
          if (null === $instance) {
              $instance = new static();
          }
  
          $configuration = Yaml::parse(file_get_contents($configFile));
          $instance->setParams($configuration);
  
          return $instance;
      }
code: public static function getInstance($configFile='config.yml')
      {
          static $instance = null;
          if (null === $instance) {
              $instance = new static();
          }
  
          $configuration = Yaml::parse(file_get_contents($configFile));
          $instance->setParams($configuration);
  
          return $instance;
      }
code_tokens: public static function getInstance ( $ configFile = 'config.yml' ) { static $ instance = null ; if ( null === $ instance ) { $ instance = new static ( ) ; } $ configuration = Yaml :: parse ( file_get_contents ( $ configFile ) ) ; $ instance -> setParams ( $ configuration ) ; return $ instance ; }
docstring: Config singleton.
  @param string $configFile The yaml config file relative to project root.
  @return Config The *Singleton* instance.
docstring_tokens: Config singleton .