\Putup\Joblisting\Workflow\JobListingValidator::class, ]; /** * The actions mappings for the package. * * @var array */ protected $actions = [ // Bind JobListing actions \Putup\Joblisting\Models\JobListing::class => \Putup\Joblisting\Workflow\JobListingAction::class, ]; /** * The notifiers mappings for the package. * * @var array */ protected $notifiers = [ // Bind JobListing notifiers \Putup\Joblisting\Models\JobListing::class => \Putup\Joblisting\Workflow\JobListingNotifier::class, ]; /** * Register any package workflow validation services. * * @param \Litepie\Contracts\Workflow\Workflow $workflow * * @return void */ public function boot(WorkflowContract $workflow) { parent::registerValidators($workflow); parent::registerActions($workflow); parent::registerNotifiers($workflow); } }