Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[OptionsResolver] array of instance allowed type #15524

Closed
@soullivaneuh

Description

@soullivaneuh

It could be nice to have possibility to make this kind of requirement:

->setAllowedTypes('attachments', '\Swift_Attachment[]')

Basically, for this case, an array of Swift_Attachment objects.

It could be a good beginning waiting #4833.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions