\Payroll\Allowance\Workflow\AllowanceValidator::class, ]; /** * The actions mappings for the package. * * @var array */ protected $actions = [ // Bind Allowance actions \Payroll\Allowance\Models\Allowance::class => \Payroll\Allowance\Workflow\AllowanceAction::class, ]; /** * The notifiers mappings for the package. * * @var array */ protected $notifiers = [ // Bind Allowance notifiers \Payroll\Allowance\Models\Allowance::class => \Payroll\Allowance\Workflow\AllowanceNotifier::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); } }