Skip to content

Instantly share code, notes, and snippets.

@cod3beat
Last active November 17, 2015 08:07
Show Gist options
  • Save cod3beat/2089a1da62ee34baf652 to your computer and use it in GitHub Desktop.
Save cod3beat/2089a1da62ee34baf652 to your computer and use it in GitHub Desktop.
Create Unpublished Challenge Command Handler
<?php
use Dicoding\ApplicationService\Challenges;
class CreateUnpublishedChallengeHandler
{
public function handle(CreateUnpublishedChallenge $command)
{
try {
// jalankan use case
} catch (\Exception $e) {
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment