Challenge: Parsing Blade Echos

Write code to parse Blade echos as we did for Blade directives.

Problem statement

Our validator parser currently only handles Blade directives. How might you refactor this parser to be able to parse Blade echos, such as {{ $title }}?

Get hands-on with 1300+ tech skills courses.