Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to access resource bundle parameter using variable?

Is it possible to have something like the following?

$R{${P{my_paramater}}

The above throws a complilation error

like image 219
C.L.S Avatar asked Dec 31 '25 12:12

C.L.S


1 Answers

That won't work, you'll have to do str($P{my_paramater}).

like image 114
dada67 Avatar answered Jan 03 '26 22:01

dada67



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!