CachesRoutes.php
TLDR
This file is an interface called CachesRoutes
that defines two methods related to caching application routes.
Methods
routesAreCached
This method determines if the application routes are cached. It returns a boolean value indicating whether the routes are cached or not.
getCachedRoutesPath
This method returns the path to the routes cache file as a string.
<?php
namespace Illuminate\Contracts\Foundation;
interface CachesRoutes
{
/**
* Determine if the application routes are cached.
*
* @return bool
*/
public function routesAreCached();
/**
* Get the path to the routes cache file.
*
* @return string
*/
public function getCachedRoutesPath();
}