Skip to content
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

ObjectCollection::toArray() will not pass on $includeForeignObjects parameter to objects #1471

Closed
ioannis-papikas opened this issue Mar 17, 2018 · 1 comment
Labels

Comments

@ioannis-papikas
Copy link

Although each generated object that implements ActiveRecordInterface has a parameter $includeForeignObjects to include any foreign objects, ObjectCollection does not make use of this parameter and passes on always true.

The issue is here: \Propel\Runtime\Collection\ObjectCollection::toArray($keyColumn = null, $usePrefix = false, $keyType = TableMap::TYPE_PHPNAME, $includeLazyLoadColumns = true, $alreadyDumpedObjects = [])

@dereuromark
Copy link
Contributor

PR open

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

No branches or pull requests

2 participants