【发布时间】:2017-04-28 09:20:44
【问题描述】:
我想编辑一个客户的创建,我想在创建过程中添加一个字段。在创建期间,服务 "sylius.controller.customer:createAction" 在 security.yml
sylius_shop_register:
path: /register
methods: [GET, POST]
defaults:
_controller: sylius.controller.customer:createAction
_sylius:
template: "@SyliusShop/register.html.twig"
form: Sylius\Bundle\CoreBundle\Form\Type\Customer\CustomerRegistrationType
event: register
redirect:
route: sylius_shop_account_dashboard
flash: sylius.customer.register
但是我查了很多 sylius 服务都没有找到。 如何访问此服务以自定义创建?
感谢您的宝贵时间。
【问题讨论】:
-
请发帖MVCE
-
我想我现在做到了
标签: php symfony sylius customer