Pantheon\Terminus\Commands\Workflow\Info\StatusCommand::status PHP Method

status() public method

Show status information about a workflow
public status ( string $site_id, $options = ['id' => null] ) : Consolidation\OutputFormatters\StructuredData\PropertyList
$site_id string Name or ID of the site that the workflow is part of
return Consolidation\OutputFormatters\StructuredData\PropertyList
    public function status($site_id, $options = ['id' => null])
    {
        $workflow_data = $this->getWorkflow($site_id, $options['id'])->serialize();
        unset($workflow_data['operations']);
        return new PropertyList($workflow_data);
    }
StatusCommand