original_string: public function getEnvCounters()
      {
          $bag = $this->getParameterBag();
          $envPlaceholders = $bag instanceof EnvPlaceholderParameterBag ? $bag->getEnvPlaceholders() : $this->envPlaceholders;
  
          foreach ($envPlaceholders as $env => $placeholders) {
              if (!isset($this->envCounters[$env])) {
                  $this->envCounters[$env] = 0;
              }
          }
  
          return $this->envCounters;
      }
code: public function getEnvCounters()
      {
          $bag = $this->getParameterBag();
          $envPlaceholders = $bag instanceof EnvPlaceholderParameterBag ? $bag->getEnvPlaceholders() : $this->envPlaceholders;
  
          foreach ($envPlaceholders as $env => $placeholders) {
              if (!isset($this->envCounters[$env])) {
                  $this->envCounters[$env] = 0;
              }
          }
  
          return $this->envCounters;
      }
code_tokens: public function getEnvCounters ( ) { $ bag = $ this -> getParameterBag ( ) ; $ envPlaceholders = $ bag instanceof EnvPlaceholderParameterBag ? $ bag -> getEnvPlaceholders ( ) : $ this -> envPlaceholders ; foreach ( $ envPlaceholders as $ env => $ placeholders ) { if ( ! isset ( $ this -> envCounters [ $ env ] ) ) { $ this -> envCounters [ $ env ] = 0 ; } } return $ this -> envCounters ; }
docstring: Get statistics about env usage.
  
  @return int[] The number of time each env vars has been resolved
docstring_tokens: Get statistics about env usage .