Skip to content

Commit

Permalink
implicit-bind-data (#96)
Browse files Browse the repository at this point in the history
* Fix return type for getElementById, closes #65

* Update PHPDoc to include inherited changes

* Rename function for removing template attributes

* Set value for certain input fields differently

* Bind list to document fragment for efficiency
for #77

* Remove unbindable check

* Allow returning any iterable, not just array - fixes #88

* Implicit binding on bindData
  • Loading branch information
g105b committed Sep 19, 2019
1 parent 4f38cd4 commit 14b91d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Bindable.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ public function bindData(
}
}
}
else {
$this->bindValue($kvp);
}
}

foreach($iterable as $key => $value) {
Expand Down

0 comments on commit 14b91d9

Please sign in to comment.