Skip to content

follow the property access model with children #190

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 9, 2013
Merged

Conversation

dbu
Copy link
Member

@dbu dbu commented Oct 8, 2013

Q A
Bug fix? yes (well, workaround for sonata admin shortcomings)
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

with this change, routes will appear again in the sonata phpcr-odm as this follows the property access model of having getChildren to get the children property.

*
* @return array - array of RouteObjectInterface's
* @return RouteObjectInterface[]
*
*/
public function getRouteChildren()
Copy link
Member

Choose a reason for hiding this comment

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

but we want to keep getRouteChildren() ?

Copy link
Member Author

Choose a reason for hiding this comment

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

i would keep it, it filters to only return route objects and not other children

lsmith77 added a commit that referenced this pull request Oct 9, 2013
follow the property access model with children
@lsmith77 lsmith77 merged commit a8781da into master Oct 9, 2013
@lsmith77 lsmith77 deleted the route-children branch October 9, 2013 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants