Skip to content

Instantly share code, notes, and snippets.

@vineeth030
Created July 10, 2020 08:07
Show Gist options
  • Save vineeth030/ed32d352f02d1df7bd7d5ac0a751b33b to your computer and use it in GitHub Desktop.
Save vineeth030/ed32d352f02d1df7bd7d5ac0a751b33b to your computer and use it in GitHub Desktop.
<?php
public function boot()
{
Nova::serving(function () {
Post::observe(PostObserver::class);
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment