When you pass an associate array of data to views with Laravel, how does that associative array get converted into variables? I tried to look at the source code but I can't quite see how it's done.
// View
view('greetings', ['name' => 'Victoria', 'title' => 'Test']);
// Using the associative array data in the templates
<?php echo $name; ?>
<?php echo $title; ?>
https://laravel.com/docs/5.4/views#passing-data-to-views
Is PHP's extract function used?