Pantheon\Terminus\Commands\Env\InfoCommand::info PHP Method

info() public method

Show information about an environment
public info ( string $site_env ) : Consolidation\OutputFormatters\StructuredData\PropertyList
$site_env string The site and environment to retrieve information about
return Consolidation\OutputFormatters\StructuredData\PropertyList
    public function info($site_env)
    {
        list(, $env) = $this->getSiteEnv($site_env);
        return new PropertyList($env->serialize());
    }
InfoCommand