\B2buy\Buyer\Workflow\BuyerValidator::class, ]; /** * The actions mappings for the package. * * @var array */ protected $actions = [ // Bind Buyer workflow actions 'B2buy\Buyer\Models\Buyer' => \B2buy\Buyer\Workflow\BuyerAction::class, ]; /** * The notifiers mappings for the package. * * @var array */ protected $notifiers = [ // Bind Buyer workflow notifiers 'B2buy\Buyer\Models\Buyer' => \B2buy\Buyer\Workflow\BuyerNotifier::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); } }