Skip to content

[OptionsResolver] Support array of types in allowed type #8563

Closed
@javiereguiluz

Description

@javiereguiluz

See symfony/symfony#23112

It allows to do things like these:

->setAllowedTypes('foo', 'int[]');
->setAllowedTypes('foo', 'int[][]');
->setAllowedTypes('foo', array('null', 'DateTime[]'));

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions