私はcentos7
php56
laravel 5
とmemcached
が、routes.php
でuse Cache
をしようとすると、私が手に持っている:Laravel:非化合物名[キャッシュ]で使用する文は効果がありません
ErrorException in routes.php line 3:
The use statement with non-compound name 'Cache' has no effect
router.phpを
<?php
use Cache;
...
あなたのエラーをグーグルで試しましたか?これに対処する古いスタックオーバーフローに関する質問があります。 –
http://stackoverflow.com/questions/23745050/laravel-composer-the-use-statement-with-non-compound-name/23747053#23747053 –