/** * Handle the command. * * @param ButtonBuilder $builder */ public function handle(ButtonBuilder $builder) { $builder->build($this->builder); }
/** * Build buttons and load them to the form. * * @param BuildButtons $command */ public function handle(BuildButtons $command) { $this->builder->build($command->getBuilder()); }