Skip to content

Commit

Permalink
Add the routesAreCached method, so Lumen won't throw a "Call to undef…
Browse files Browse the repository at this point in the history
…ined method".
  • Loading branch information
jackson committed Jul 20, 2018
1 parent 377918f commit 4887530
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -819,6 +819,16 @@ public function flush()
static::$instance = null;
}

/**
* Determine if the application routes are cached.
*
* @return bool
*/
public function routesAreCached()
{
return false;
}

/**
* Register the core container aliases.
*
Expand Down

0 comments on commit 4887530

Please sign in to comment.