\CountriesStates\CountriesStates\Workflow\CountriesValidator::class, // Bind States workflow validator 'CountriesStates\CountriesStates\Models\States' => \CountriesStates\CountriesStates\Workflow\StatesValidator::class, // Bind Cities workflow validator 'CountriesStates\CountriesStates\Models\Cities' => \CountriesStates\CountriesStates\Workflow\CitiesValidator::class, // Bind Area workflow validator 'CountriesStates\CountriesStates\Models\Area' => \CountriesStates\CountriesStates\Workflow\AreaValidator::class, ]; /** * The actions mappings for the package. * * @var array */ protected $actions = [ // Bind Countries workflow actions 'CountriesStates\CountriesStates\Models\Countries' => \CountriesStates\CountriesStates\Workflow\CountriesAction::class, // Bind States workflow actions 'CountriesStates\CountriesStates\Models\States' => \CountriesStates\CountriesStates\Workflow\StatesAction::class, // Bind Cities workflow actions 'CountriesStates\CountriesStates\Models\Cities' => \CountriesStates\CountriesStates\Workflow\CitiesAction::class, // Bind Area workflow actions 'CountriesStates\CountriesStates\Models\Area' => \CountriesStates\CountriesStates\Workflow\AreaAction::class, ]; /** * The notifiers mappings for the package. * * @var array */ protected $notifiers = [ // Bind Countries workflow notifiers 'CountriesStates\CountriesStates\Models\Countries' => \CountriesStates\CountriesStates\Workflow\CountriesNotifier::class, // Bind States workflow notifiers 'CountriesStates\CountriesStates\Models\States' => \CountriesStates\CountriesStates\Workflow\StatesNotifier::class, // Bind Cities workflow notifiers 'CountriesStates\CountriesStates\Models\Cities' => \CountriesStates\CountriesStates\Workflow\CitiesNotifier::class, // Bind Area workflow notifiers 'CountriesStates\CountriesStates\Models\Area' => \CountriesStates\CountriesStates\Workflow\AreaNotifier::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); } }