public function setAttributes(array $attributes): void
    {
        $this->checkAttributeAssignable(array_keys($attributes));

        $this->setRawAttributes($attributes);
    }
public function setAttributes(array $attributes): void
    {
        $this->checkAttributeAssignable(array_keys($attributes));

        $this->setRawAttributes($attributes);
    }
public function setAttributes ( array $ attributes ) : void { $ this -> checkAttributeAssignable ( array_keys ( $ attributes ) ) ; $ this -> setRawAttributes ( $ attributes ) ; }
Mass assignment of attributes

@param array $attributes associative
Mass assignment of attributes