Add getType to StageBase to allow subclasses to be internal

Created on 27 November 2023, over 1 year ago
Updated 29 November 2023, over 1 year ago

Problem/Motivation

Right now in our in our validators we have logic like this

if ($stage instanceof ConsoleUpdateStage) {

to allow determining the stage is regular or console. If others do this our stage classes aren't really internal

Steps to reproduce

Proposed resolution

Add getType method to stagebase

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States tedbow Ithaca, NY, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024