Skip to content

Migration::__construct() "final" key word decreases usability #155

Description

@daimaxiong

The constructor's signature is final public function __construct()

I would like to make a base class for my migrations that extends Phpmig\Migration\Migration and does some custom configuration/initilization tasks.

The logical goto for that is the constructor, however, I cannot do that, because the parent class's constructor is marked final.

Please remove this in a future version

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions