fill() 공개 메소드

Fill the model with an array of attributes.
public fill ( array $attributes )
$attributes array attributes
예제 #1
0
 /**
  * Fill all attributes
  *
  * @param array $attributes attributes in object
  * @return void
  */
 public function fill(array $attributes)
 {
     parent::fill($attributes);
     if (isset($attributes['vars'])) {
         $this->setValueObject($attributes);
     }
 }