PHP Classes

File: vendor/laravel/framework/src/Illuminate/Foundation/Console/stubs/routes.stub

Recommend this page to a friend!
  Packages of Abed Nego Ragil Putra   Laravel Blogging Platform   vendor/laravel/framework/src/Illuminate/Foundation/Console/stubs/routes.stub   Download  
File: vendor/laravel/framework/src/Illuminate/Foundation/Console/stubs/routes.stub
Role: Example script
Content type: text/plain
Description: Example script
Class: Laravel Blogging Platform
Manage blog posts using Laravel and Bootstrap
Author: By
Last change:
Date: 8 months ago
Size: 477 bytes
 

Contents

Class file image Download
<?php

/*
|--------------------------------------------------------------------------
| Load The Cached Routes
|--------------------------------------------------------------------------
|
| Here we will decode and unserialize the RouteCollection instance that
| holds all of the route information for an application. This allows
| us to instantaneously load the entire route map into the router.
|
*/

app('router')->setRoutes(
   
unserialize(base64_decode('{{routes}}'))
);