Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mkwsra/e394e8e023945fdc8029fba438d6aeff to your computer and use it in GitHub Desktop.
Save mkwsra/e394e8e023945fdc8029fba438d6aeff to your computer and use it in GitHub Desktop.
<?php
namespace App\Models;
// ...
// Remember to import it
use App\Traits\HasUuid;
class Post extends Model
{
// ...
use HasUuid;
// ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment