Saves an object to this collection
public save ( array | object &$a, array $options = [] ) : array | boolean | ||
$a | array | object | Array to save. If an object is used, it may not have protected or private properties. |
$options | array | Options for the save. |
return | array | boolean | If w was set, returns an array containing the status of the save. Otherwise, returns a boolean representing if the array was not empty (an empty array will not be inserted). |