Skip to content

Instantly share code, notes, and snippets.

@itskevinsam
Last active June 24, 2016 08:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save itskevinsam/6e4e649e36bdb51f23c20491efd101d3 to your computer and use it in GitHub Desktop.
Save itskevinsam/6e4e649e36bdb51f23c20491efd101d3 to your computer and use it in GitHub Desktop.
Using Signal Methods within code logic.
public function migrateCommand()
{
//Other program logic specific code (if needed)
$this->emitAfterDatabaseMigration();
//Other program logic specific code (if needed)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment