\Cart\Refund\Workflow\RefundValidator::class, ]; /** * The actions mappings for the package. * * @var array */ protected $actions = [ // Bind Refund workflow actions 'Cart\Refund\Models\Refund' => \Cart\Refund\Workflow\RefundAction::class, ]; /** * The notifiers mappings for the package. * * @var array */ protected $notifiers = [ // Bind Refund workflow notifiers 'Cart\Refund\Models\Refund' => \Cart\Refund\Workflow\RefundNotifier::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); } }