Skip to content

Model Entity suggestion #549

Description

@daylightstudio

I'd like to hear thoughts on passing the Model Entity object a reference of the calling Model object. This would need to be done in the BaseResult::getCustomResultObject() method and the reference from the Model class would need to make it's way down to the BaseResult object. This would allow the ability to call methods on the parent model object from within the context of the entity such as $user->save() instead of $userModel->save($user);

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions