src/Model.php
public function fill( array $data = array() ) {

		foreach ( $data as $column => $value ) {

			if ( $this->is_fillable( $column ) ) {
				$this->set_attribute( $column, $value );
			}
		}

		return $this;
	}
public function fill( array $data = array() ) {

		foreach ( $data as $column => $value ) {

			if ( $this->is_fillable( $column ) ) {
				$this->set_attribute( $column, $value );
			}
		}

		return $this;
	}
Fill this model's attributes.

Filling a model in this way is used to prevent sensitive properties from being mass-assigned.
For example when creating a new model like so: `MyModel::create( $_POST['model'] )`.

If the model is unguarded, all attributes can be assigned via this method.
Otherwise, the attribute can be filled according to {$_fillable} or {$_guarded}.

@since   2.0

@used-by IronBound\DB\Model::__construct()
@used-by IronBound\DB\Model::create()
@used-by IronBound\DB\Model::init()
@used-by IronBound\DB\Query\FluentQuery::update_or_create()

@param array $data

@return $this