\Asadi\Guardian\Workflow\GuardianValidator::class, ]; /** * The actions mappings for the package. * * @var array */ protected $actions = [ // Bind Guardian actions \Asadi\Guardian\Models\Guardian::class => \Asadi\Guardian\Workflow\GuardianAction::class, ]; /** * The notifiers mappings for the package. * * @var array */ protected $notifiers = [ // Bind Guardian notifiers \Asadi\Guardian\Models\Guardian::class => \Asadi\Guardian\Workflow\GuardianNotifier::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); } }