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

Added possibility to pass constructor arguments with asObject #127

Closed
wants to merge 1 commit into from
Closed

Added possibility to pass constructor arguments with asObject #127

wants to merge 1 commit into from

Conversation

teddybeermaniac
Copy link

Added optional $arguments argument to asObject method which, if is an array, will be passed as ctorargs to setFetchMode.

@@ -19,6 +19,9 @@
/** @var bool */
private $object = false;

/** @var array of object's constructor arguments */
private $object_arguments = null;
Copy link
Contributor

Choose a reason for hiding this comment

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

use camelCasing

@cbornhoft cbornhoft self-assigned this Feb 18, 2016
@cbornhoft cbornhoft added the 2.0 label Oct 3, 2017
@cbornhoft cbornhoft added this to To Do in road-to-two Aug 26, 2018
@sanabria91 sanabria91 moved this from To Do to Review in road-to-two Sep 18, 2018
@cbornhoft
Copy link
Member

Closing this PR. This doesn't have much to do with queries or PDO, so if anyone requires this functionality, I recommend they extend Fluent to achieve this.

@cbornhoft cbornhoft closed this Oct 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
road-to-two
  
Review
Development

Successfully merging this pull request may close these issues.

None yet

4 participants