Pantheon\Terminus\Collections\Workflows::allWithLogs PHP Method

allWithLogs() public method

Returns all existing workflows that contain logs
public allWithLogs ( ) : Workflow[]
return Workflow[]
    public function allWithLogs()
    {
        $workflows = $this->allFinished();
        $workflows = array_filter($workflows, function ($workflow) {
            $has_logs = $workflow->get('has_operation_log_output');
            return $has_logs;
        });
        return $workflows;
    }