forked from christiankerl/WebServiceBundle
-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
I'm having troubles with the following case:
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?
Metadata
Metadata
Assignees
Labels
No labels