Returns a newly-created Document object, bound to a model and populated with default data
and options.
public item ( string $model, array $data = [], array $options = [] ) : object | ||
$model | string | A fully-namespaced class name representing the model class to which the `Document` object will be bound. |
$data | array | The default data with which the new `Document` should be populated. |
$options | array | Any additional options to pass to the `Document`'s constructor |
return | object | Returns a new, un-saved `Document` object bound to the model class specified in `$model`. |