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

info() public method

Print information about the given upstream
public info ( string $upstream ) : Consolidation\OutputFormatters\StructuredData\PropertyList
$upstream string The name or UUID of the upstream to retrieve information on
return Consolidation\OutputFormatters\StructuredData\PropertyList
    public function info($upstream)
    {
        return new PropertyList($this->session()->getUser()->getUpstreams()->get($upstream)->serialize());
    }
InfoCommand