\B2buy\Faqadmin\Workflow\FaqValidator::class, ]; /** * The actions mappings for the package. * * @var array */ protected $actions = [ // Bind Faq workflow actions 'B2buy\Faqadmin\Models\Faq' => \B2buy\Faqadmin\Workflow\FaqAction::class, ]; /** * The notifiers mappings for the package. * * @var array */ protected $notifiers = [ // Bind Faq workflow notifiers 'B2buy\Faqadmin\Models\Faq' => \B2buy\Faqadmin\Workflow\FaqNotifier::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); } }