You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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;
What i need to get is a tree of complextype items but i'm getting a circular reference error when using the annotation @soap\ComplexType("AppBundle\Entity\Item[]").
Any idea of how can i deal with this situation?
The text was updated successfully, but these errors were encountered:
I'm having troubles with the following case:
What i need to get is a tree of complextype items but i'm getting a circular reference error when using the annotation @soap\ComplexType("AppBundle\Entity\Item[]").
Any idea of how can i deal with this situation?
The text was updated successfully, but these errors were encountered: