original_string: public function beforeSave()
      {
          /*
           * Dynamic attributes are stored in the jsonable attribute 'data'.
           */
          $staticAttributes = ['id', 'theme', 'data', 'created_at', 'updated_at'];
          $dynamicAttributes = array_except($this->getAttributes(), $staticAttributes);
  
          $this->data = $dynamicAttributes;
          $this->setRawAttributes(array_only($this->getAttributes(), $staticAttributes));
      }
code: public function beforeSave()
      {
          /*
           * Dynamic attributes are stored in the jsonable attribute 'data'.
           */
          $staticAttributes = ['id', 'theme', 'data', 'created_at', 'updated_at'];
          $dynamicAttributes = array_except($this->getAttributes(), $staticAttributes);
  
          $this->data = $dynamicAttributes;
          $this->setRawAttributes(array_only($this->getAttributes(), $staticAttributes));
      }
code_tokens: public function beforeSave ( ) { /*
           * Dynamic attributes are stored in the jsonable attribute 'data'.
           */ $ staticAttributes = [ 'id' , 'theme' , 'data' , 'created_at' , 'updated_at' ] ; $ dynamicAttributes = array_except ( $ this -> getAttributes ( ) , $ staticAttributes ) ; $ this -> data = $ dynamicAttributes ; $ this -> setRawAttributes ( array_only ( $ this -> getAttributes ( ) , $ staticAttributes ) ) ; }
docstring: Before saving the model, strip dynamic attributes applied from config.
  @return void
docstring_tokens: Before saving the model strip dynamic attributes applied from config .