Hello,
I have a users object with few properties [id, name, email]
I need to reach some property with defined key. Example:
$key = 'name';
echo $user->{$key};
Is there any way to do the same with volt?
Hello,
I have a users object with few properties [id, name, email]
I need to reach some property with defined key. Example:
$key = 'name';
echo $user->{$key};
Is there any way to do the same with volt?