* @copyright 2018 Webkul Software Pvt Ltd (http://www.webkul.com) */ class CheckoutController extends Controller { /** * Contains route related configuration * * @var array */ protected $_config; /** * Create a new controller instance. * * @return void */ public function __construct() { $this->_config = request('_config'); } /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { return view($this->_config['view']); } }