title: Laravel set/modify Model attribute during trait boot
body: <p>Is it possible for a trait's boot method to set or modify a Model's attribute? The following non-working example illustrates what I am going for:</p>
  
  <pre><code>trait MyTrait {
  
      public static function bootMyTrait(){
          static::creating(function(Model $item){
              $item-&gt;foo = 'foo';
          });
      }
  }
  </code></pre>