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;
    }
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;
    }
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 ; }
Get statistics about env usage.

@return int[] The number of time each env vars has been resolved
Get statistics about env usage .