src/Leevel/Kernel/Console/AutoloadClear.php
public function handle(IApp $app): void
    {
        $this->line('Start to clear cache autoload.');

        $cachePath = $app->runtimePath('autoload.php');

        $this->clearCache($cachePath);

        $this->info(sprintf('Autoload file %s cache clear successed.', $cachePath));
    }
public function handle(IApp $app): void
    {
        $this->line('Start to clear cache autoload.');

        $cachePath = $app->runtimePath('autoload.php');

        $this->clearCache($cachePath);

        $this->info(sprintf('Autoload file %s cache clear successed.', $cachePath));
    }
响应命令.

@param \Leevel\Kernel\IApp $app