Pantheon\Terminus\Config::getKeyFromConstant PHP Method

getKeyFromConstant() private method

Reflects a key name given a Terminus constant name
private getKeyFromConstant ( string $constant_name ) : string
$constant_name string The name of a constant to get a key for
return string
    private function getKeyFromConstant($constant_name)
    {
        $key = strtolower(str_replace($this->constant_prefix, '', $constant_name));
        return $key;
    }