Development

#6756 (ArrayCollection return type with typed elements)

You must first sign up to be able to contribute.

Ticket #6756 (new enhancement)

Opened 7 months ago

ArrayCollection return type with typed elements

Reported by: josamoto Assigned to: thaberkern
Priority: minor Milestone:
Component: sfAmfPlugin Version: 1.2.7
Keywords: Cc:
Qualification: Unreviewed

Description

I don't know if this would be possible, but it would be nice if you can do the following:

/**
 * @AmfReturnType("ArrayCollection")
 * @AmfClassMapping(name="Author")
 */

So the annotation indicates we'll be returning an ArrayCollection?, with typed Author instances.

I think this might also be related to ticket 6393, about nested class mapping.

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.