1
Ben bir SOAP sunucusu oluşturmak için BeSimple SoapBundle kullanıyorum ama aşağıdaki kod parçası ile sorun yaşıyorum
:BeSimple SoapBundle - Açıklamalar: Karmaşık türlerinde dairesel başvurular işleme
namespace AppBundle\Entity;
use BeSimple\SoapBundle\ServiceDefinition\Annotation as Soap;
/**
* @Soap\Alias("Item")
*/
class Item
{
/**
* @Soap\ComplexType("AppBundle\Entity\Item[]")
*/
protected $items;
/**
* @Soap\ComplexType("string")
*/
protected $name;
i gerekenler get komplekstype öğelerinin bir ağacıdır, ancak ek açıklama @Soap \ ComplexType ("AppBundle \ Entity \ Item []") kullanıldığında dairesel bir başvuru hatası alıyorum.
Bu durumla nasıl başa çıkabilirim?