\Celebs\Celeb\Workflow\CelebsValidator::class, // Bind Occupation validator \Celebs\Celeb\Models\Occupation::class => \Celebs\Celeb\Workflow\OccupationValidator::class, // Bind CelOcu validator \Celebs\Celeb\Models\CelOcu::class => \Celebs\Celeb\Workflow\CelOcuValidator::class, ]; /** * The actions mappings for the package. * * @var array */ protected $actions = [ // Bind Celebs actions \Celebs\Celeb\Models\Celebs::class => \Celebs\Celeb\Workflow\CelebsAction::class, // Bind Occupation actions \Celebs\Celeb\Models\Occupation::class => \Celebs\Celeb\Workflow\OccupationAction::class, // Bind CelOcu actions \Celebs\Celeb\Models\CelOcu::class => \Celebs\Celeb\Workflow\CelOcuAction::class, ]; /** * The notifiers mappings for the package. * * @var array */ protected $notifiers = [ // Bind Celebs notifiers \Celebs\Celeb\Models\Celebs::class => \Celebs\Celeb\Workflow\CelebsNotifier::class, // Bind Occupation notifiers \Celebs\Celeb\Models\Occupation::class => \Celebs\Celeb\Workflow\OccupationNotifier::class, // Bind CelOcu notifiers \Celebs\Celeb\Models\CelOcu::class => \Celebs\Celeb\Workflow\CelOcuNotifier::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); } }