original_string: public function fill(array $attributes)
      {
          foreach ($attributes as $key => $value) {
              if (array_search($key, $this->fillable) !== false) {
                  $this->{$key} = $value;
              }
          }
      }
code: public function fill(array $attributes)
      {
          foreach ($attributes as $key => $value) {
              if (array_search($key, $this->fillable) !== false) {
                  $this->{$key} = $value;
              }
          }
      }
code_tokens: public function fill ( array $ attributes ) { foreach ( $ attributes as $ key => $ value ) { if ( array_search ( $ key , $ this -> fillable ) !== false ) { $ this -> { $ key } = $ value ; } } }
docstring: Fills the part with attributes.
  
  @param array $attributes Attributes to set.
docstring_tokens: Fills the part with attributes .