title: Laravel create GUID for specific column
body: <p>I would like to create a UUID/GUID for a specific column in Laravel 5. So i am using the Library from Webpatser to get an UUID in Laravel5.</p>
  
  <p>I would like to set this as default for a specific column, so i guess i should use attributes, or?</p>
  
  <p>But when i use</p>
  
  <pre><code>protected $attributes = array('guid' =&gt; Uuid::generate(4)-&gt;string);
  </code></pre>
  
  <p>ill always get an error with:</p>
  
  <pre><code>syntax error, unexpected '(', expecting ')'
  </code></pre>
  
  <p>I am not sure, because the syntax looks fine and when ill try </p>
  
  <pre><code>protected $attributes = array('guid' =&gt; 'dsadasfasfsaf');
  </code></pre>
  
  <p>Everything works fine (guid is a varchar(36) field) - and </p>
  
  <pre><code>Uuid::generate(4)-&gt;string 
  </code></pre>
  
  <p>returns a string. </p>
  
  <p>Do i need anything else to create a default value for my model? Thanks in advance.</p>