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