Add setModel method to FormBuilder

This commit is contained in:
Philo Hermans committed 2013-12-29 20:39:59 +01:00
1 parent ada31f214b
commit e9aec605fd
1 file changed
+11
+11
View File
@@ -150,6 +150,17 @@ class FormBuilder {
return $this->open($options);
}
/**
* Set model on form builder.
*
* @param mixed $model
* @return void
*/
public function setModel($model)
{
$this->model = $model;
}
/**
* Close the current form.
*