Skip to content

Commit

Permalink
添加缓存判断方法
Browse files Browse the repository at this point in the history
  • Loading branch information
youmingdot committed Jun 7, 2018
1 parent bc49122 commit 2053828
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,26 @@ public function getCachedPackagesPath()
return $this->bootstrapPath('cache/packages.php');
}

/**
* 判断配置是否已缓存
*
* @return bool
*/
public function configurationIsCached()
{
return false;
}

/**
* 判断路由是否已缓存
*
* @return bool
*/
public function routesAreCached()
{
return false;
}

/**
* 注册核心别名
*/
Expand Down

0 comments on commit 2053828

Please sign in to comment.