PHP Class Devise\Pages\RoutesGenerator

Afficher le fichier Open project: devisephp/cms

Méthodes publiques

Méthode Description
__construct ( Framework $Framework ) [__construct description]
cacheRoutes ( ) : string Uses the routes array and spits out a string of laravel routes
loadRoutes ( ) : [type] Loads the routes

Méthodes protégées

Méthode Description
assertRouteCachingValid ( ) : [type] Asserts that the route cache is not in a weird state
clearDeviseRoutes ( ) : [type] Remove the temporary devise routes file
clearLaravelCache ( ) : [type] Clear the route cache in Laravel Devis Pages won't work properly if these routes are cached
deviseRoutesFile ( ) : [type] Returns the route cache path if the file exists
findDvsPageRoutes ( ) : array Returns the dvs page routes in this system

Method Details

__construct() public méthode

[__construct description]
public __construct ( Framework $Framework )
$Framework Devise\Support\Framework

assertRouteCachingValid() protected méthode

Asserts that the route cache is not in a weird state
protected assertRouteCachingValid ( ) : [type]
Résultat [type]

cacheRoutes() public méthode

Uses the routes array and spits out a string of laravel routes
public cacheRoutes ( ) : string
Résultat string

clearDeviseRoutes() protected méthode

Remove the temporary devise routes file
protected clearDeviseRoutes ( ) : [type]
Résultat [type]

clearLaravelCache() protected méthode

Clear the route cache in Laravel Devis Pages won't work properly if these routes are cached
protected clearLaravelCache ( ) : [type]
Résultat [type]

deviseRoutesFile() protected méthode

Returns the route cache path if the file exists
protected deviseRoutesFile ( ) : [type]
Résultat [type]

findDvsPageRoutes() protected méthode

Returns the dvs page routes in this system
protected findDvsPageRoutes ( ) : array
Résultat array

loadRoutes() public méthode

Loads the routes
public loadRoutes ( ) : [type]
Résultat [type]