Pantheon\Terminus\Commands\Connection\InfoCommand::connectionInfo PHP Method

connectionInfo() public method

Retrieve connection info for a specific environment such as git, sftp, mysql, redis
public connectionInfo ( string $site_env_id ) : Consolidation\OutputFormatters\StructuredData\PropertyList
$site_env_id string Name of the environment to retrieve
return Consolidation\OutputFormatters\StructuredData\PropertyList
    public function connectionInfo($site_env_id)
    {
        list(, $env) = $this->getSiteEnv($site_env_id);
        return new PropertyList($env->connectionInfo());
    }
InfoCommand