我試圖在sylius中創建一個產品的表單。我想添加一個「PackItem」的集合。 然而,只有最後一個項目被添加,當我加"by_reference" => false我有這個問題 無法確定財產「產品」訪問類型。 這是我的代碼 #ProductTypeExtension.php
public function buildForm(FormBuilderInterface $builder, ar
允許的最大長度我只是作曲家和exec php bin/console server:run更新Sylius,我已經 得到這個錯誤: Warning: glob(): Pattern exceeds the maximum allowed length of 260 characters in C:\project\vendor\sylius\sylius\src\Sylius\Bundle\Adm
我在\vendor文件夾中有一個實體,我無法更改/觸摸,但是當我在項目中使用它時,我需要爲該對象添加一個參數(description)。 所以我有代碼: namespace SoftNation\Sylius\MyExtendBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use SoftNation\Sylius\ExtendBundle\E