I want to use a variable as object property and then show it. But when I run it, it fails and show me syntax error, unexpected ')' I want write something like this
$property = "name";
and then write in my blade template
How can I do this?