\Postbuffer\Channel\Workflow\PostValidator::class, // Bind Channel workflow validator 'Postbuffer\Channel\Models\Channel' => \Postbuffer\Channel\Workflow\ChannelValidator::class, ]; /** * The actions mappings for the package. * * @var array */ protected $actions = [ // Bind Post workflow actions 'Postbuffer\Channel\Models\Post' => \Postbuffer\Channel\Workflow\PostAction::class, // Bind Channel workflow actions 'Postbuffer\Channel\Models\Channel' => \Postbuffer\Channel\Workflow\ChannelAction::class, ]; /** * The notifiers mappings for the package. * * @var array */ protected $notifiers = [ // Bind Post workflow notifiers 'Postbuffer\Channel\Models\Post' => \Postbuffer\Channel\Workflow\PostNotifier::class, // Bind Channel workflow notifiers 'Postbuffer\Channel\Models\Channel' => \Postbuffer\Channel\Workflow\ChannelNotifier::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); } }