Rename Source class to SourceInstance

Created on 8 August 2025, 25 days ago

Problem/Motivation

The current Source class in src/Model/Source.php should be renamed to SourceInstance to better reflect its purpose. Additionally, the class needs a database ID field to be fully compatible with the persistence layer.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇵🇱Poland alorenc Wolsztyn, 🇵🇱

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

Comments & Activities

  • Issue created by @alorenc
  • 🇷🇴Romania claudiu.cristea Arad 🇷🇴

    I think I disagree with the scope. Right now Source is defining a source string, not a source instance. It exposes all attributes of a source:

    • Source string
    • Translation context
    • Status
    • Hash

    It doesn't expose any of the source instance specific values, such as plugin and ID.

    Keeping this around for a while to get more info.

Production build 0.71.5 2024