My problem is that I need to pass string as an argument to view, which contains the Blade Template tags to be rendered. I've done my research and I believe the other problems asked don't relate to mine. Hence following is what I want to achieve.
I want to retrieve the master layout from database and extend the child views from it. So in my case, the view that is to be passed to view() method needs to be extended from a string in database.
So something like the following should work in page.blade.php
@extends("<html>@yield('content')</html>") ---> the string shall be passed from database.
@section('content')
...
...
@endsection
Or some other code from the Controller itself may be okay, such as I call for the main layout first, then pass it the child view, which replaces the 'content' section.