Basically, the app()->view->getSections() will return you an associative array of all the sections so, to get a specific section, all you need to get an specific index from the array. From the view, you can access the app using the global $app variable, i.e: $app->view or $app['view'].
- published in VIJAYA KARNATAKA, Bangalore Edition. Page No : 9
- Date : MARCH 21 2020