Merge pull request #421 from thetar/patch-1

Adds getModel()
This commit is contained in:
Tom Shafer authored and GitHub committed 2018-02-05 06:45:48 -07:00
commit 7e49960e8f
1 file changed
+10
+10
View File
@@ -190,6 +190,16 @@ class FormBuilder
{
$this->model = $model;
}
/**
* Get the current model instance on the form builder.
*
* @return mixed $model
*/
public function getModel()
{
return $this->model;
}
/**
* Close the current form.