Skip to content
This repository has been archived by the owner on Feb 26, 2018. It is now read-only.

Commit

Permalink
Merge pull request #96 from sdebacker/master
Browse files Browse the repository at this point in the history
Method to get $data
  • Loading branch information
adamwathan committed Apr 2, 2016
2 parents 573a4d6 + 246c361 commit 942f107
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/AdamWathan/Form/Binding/BoundData.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ public function get($name, $default = null)
return $this->dotGet($this->transformKey($name), $default);
}

public function data()
{
return $this->data;
}

protected function dotGet($dotKey, $default)
{
$keyParts = array_filter(explode('.', $dotKey));
Expand Down

0 comments on commit 942f107

Please sign in to comment.