Create a new Eloquent model instance.
public __construct ( array $attributes = [] ) : void | ||
$attributes | array | |
Результат | void |
/** * Create a new MongoArdent model instance. * * @param array $attributes * @return \Fuitad\Ardent\Ardent */ public function __construct(array $attributes = array()) { parent::__construct($attributes); $this->validationErrors = new MessageBag(); }