Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

add dispatcher model binding doc #785

Merged
merged 1 commit into from
Aug 5, 2016
Merged

add dispatcher model binding doc #785

merged 1 commit into from
Aug 5, 2016

Conversation

mattvb91
Copy link
Contributor

@mattvb91 mattvb91 commented Feb 6, 2016

The associated api update for BindModelInterface is included in #784

@SidRoberts
Copy link
Contributor

Thanks, I'll merge it once 2.1 is released.

@SidRoberts SidRoberts added this to the 2.1.x milestone Feb 6, 2016
@sergeyklay
Copy link
Contributor

@SidRoberts

@SidRoberts SidRoberts merged commit 5c32008 into phalcon-orphanage:master Aug 5, 2016
@@ -456,6 +456,83 @@ before dispatch the action preparing the parameter accordingly:
The above example has been simplified for academic purposes.
A developer can improve it to inject any kind of dependency or model in actions before be executed.

From 2.1.x onwards the dispatcher also comes with an option to handle this internally for all models passed into a controller action.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably say "3.0 onwards" as 2.1.x never shipped.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since Phalcon 2.1.0 beta 1 :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants