【Laravel】artisanのoptimize:clearコマンドを解説

Laravel

Laravel 10.xのartisanの「optimize:clear」コマンドを解説します。

Description

キャッシュされたブートストラップファイルを削除します。

実体は以下コマンドを実行しています。

Usage

php artisan optimize:clear

Options

オプションはありません。

Example

no options

php artisan optimize:clear
   INFO  Clearing cached bootstrap files.  

  events .................................................................................................................................. 2ms DONE
  views .................................................................................................................................. 49ms DONE
  cache .................................................................................................................................. 30ms DONE
  route ................................................................................................................................... 1ms DONE
  config .................................................................................................................................. 1ms DONE
  compiled ................................................................................................................................ 2ms DONE

Follow me!

コメント

PAGE TOP
タイトルとURLをコピーしました