Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

also allow traversable in setExtra... methods #159

Merged
merged 1 commit into from
May 2, 2014
Merged

Conversation

dbu
Copy link
Member

@dbu dbu commented May 2, 2014

while this does not help with the form layer, it can be useful for programmatically setting extras.

/**
* Extract an array out of $data or throw an exception if not possible.
*
* @param mixed $data Something that can be converted to an array.
Copy link
Member

Choose a reason for hiding this comment

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

I think it's better to be more explicit than "mixed"

@dbu
Copy link
Member Author

dbu commented May 2, 2014

okay, adjusted to list what is supported.

@ElectricMaxxx
Copy link
Member

👍

dbu added a commit that referenced this pull request May 2, 2014
also allow traversable in setExtra... methods
@dbu dbu merged commit ea9d70f into master May 2, 2014
@dbu dbu deleted the set-traversable branch May 2, 2014 17:32
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.

None yet

3 participants