In cakephp 3.x I have used monthNames attribute for months displayed as numbers by passing false. Like below example.
echo $this->Form->month('mob', ['monthNames' => false]);
In version 4.x , This example code has remove from documentation
https://book.cakephp.org/4/en/views/helpers/form.html#creating-month-controls
How can I displayed monthNames as number. I am able to do like below
<?= $this->Form->select('mob',[1,2,3,4...]) ?>
What is the alternative of monthNames attribute in cakephp 4.x ?