\Urdtlv\Clientpay\Workflow\ClientPayValidator::class, // Bind ClientOrder workflow validator 'Urdtlv\Clientpay\Models\ClientOrder' => \Urdtlv\Clientpay\Workflow\ClientOrderValidator::class, ]; /** * The actions mappings for the package. * * @var array */ protected $actions = [ // Bind ClientPay workflow actions 'Urdtlv\Clientpay\Models\ClientPay' => \Urdtlv\Clientpay\Workflow\ClientPayAction::class, // Bind ClientOrder workflow actions 'Urdtlv\Clientpay\Models\ClientOrder' => \Urdtlv\Clientpay\Workflow\ClientOrderAction::class, ]; /** * The notifiers mappings for the package. * * @var array */ protected $notifiers = [ // Bind ClientPay workflow notifiers 'Urdtlv\Clientpay\Models\ClientPay' => \Urdtlv\Clientpay\Workflow\ClientPayNotifier::class, // Bind ClientOrder workflow notifiers 'Urdtlv\Clientpay\Models\ClientOrder' => \Urdtlv\Clientpay\Workflow\ClientOrderNotifier::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); } }