\Litecms\Demo\Workflow\DemoValidator::class, ]; /** * The actions mappings for the package. * * @var array */ protected $actions = [ // Bind Demo workflow actions 'Litecms\Demo\Models\Demo' => \Litecms\Demo\Workflow\DemoAction::class, ]; /** * The notifiers mappings for the package. * * @var array */ protected $notifiers = [ // Bind Demo workflow notifiers 'Litecms\Demo\Models\Demo' => \Litecms\Demo\Workflow\DemoNotifier::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); } }