nette / forms

📝 Generating, validating and processing secure forms in PHP. Handy API, fully customizable, server & client side validation and mature design.

Home Page:https://doc.nette.org/forms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

private const Array (request to change to public)

marabucz opened this issue · comments

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)