Skip to content

private const Array (request to change to public) #301

Closed
@marabucz

Description

@marabucz

Is it possible to make const Array a public one

private const Array = 'array';

It doesn't really make a sense to me as you are defining const Array to be a string array and then compare to it - but at

return $returnType === self::Array
you are basically focing us to call $form->getValues('array') instead of $form->getValues(Container::Array)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions