class Illuminate / Cache / Console / CacheTableCommand
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

CacheTableCommand

Extends

Properties

protected

$name string

The console command name.

Default: 'cache:table'
protected

$description string

The console command description.

Default: 'Create a migration for the cache database table'
protected

$files Filesystem

The filesystem instance.

Default: null
deprecated protected

$composer Composer

Default: null

Methods

public

__construct ( Filesystem $files , Composer $composer ) : void

Create a new cache table command instance.

Parameters

public

handle ( ) : void

Execute the console command.

protected

createBaseMigration ( ) : string

Create a base migration file for the table.