Skip to content

Fix #[16222], Added Model::setRelated()#16402

Open
rudiservo wants to merge 1 commit into
phalcon:5.0.xfrom
rudiservo:i16222
Open

Fix #[16222], Added Model::setRelated()#16402
rudiservo wants to merge 1 commit into
phalcon:5.0.xfrom
rudiservo:i16222

Conversation

@rudiservo

@rudiservo rudiservo commented Aug 15, 2023

Copy link
Copy Markdown
Contributor

Hello!

In raising this pull request, I confirm the following:

  • I have read and understood the Contributing Guidelines
  • I have checked that another pull request for this purpose does not exist
  • I wrote some tests for this PR
  • I have updated the relevant CHANGELOG
  • I have created a PR for the documentation about this change

Small description of change:
Added Model::setRelated() for those who want to make a setter for relations or avoid magic __set(), changed the magical __set() to use setRelated()

Thanks

@rudiservo rudiservo force-pushed the i16222 branch 3 times, most recently from 1c9b167 to 578042e Compare August 16, 2023 16:55
@niden niden requested a review from Jeckerson August 29, 2023 15:17
@Jeckerson Jeckerson added the new feature request Planned Feature or New Feature Request label Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new feature request Planned Feature or New Feature Request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants