PHP Class Recca0120\Terminal\Console\Commands\Tail

Inheritance: extends Illuminate\Console\Command
Show file Open project: recca0120/laravel-terminal

Protected Properties

Property Type Description
$description string The console command description.
$filesystem Illuminate\Filesystem\Filesystem $filesystem.
$name string The console command name.

Public Methods

Method Description
__construct ( Illuminate\Filesystem\Filesystem $filesystem ) __construct.
fire ( ) fire.

Protected Methods

Method Description
getArguments ( ) : array Get the console command arguments.
getOptions ( ) : array Get the console command options.
readLine ( string $file, integer $lines = 50 ) : string readLine.

Method Details

__construct() public method

__construct.
public __construct ( Illuminate\Filesystem\Filesystem $filesystem )
$filesystem Illuminate\Filesystem\Filesystem

fire() public method

fire.
public fire ( )

getArguments() protected method

Get the console command arguments.
protected getArguments ( ) : array
return array

getOptions() protected method

Get the console command options.
protected getOptions ( ) : array
return array

readLine() protected method

readLine.
protected readLine ( string $file, integer $lines = 50 ) : string
$file string
$lines integer
return string

Property Details

$description protected property

The console command description.
protected string $description
return string

$filesystem protected property

$filesystem.
protected Filesystem,Illuminate\Filesystem $filesystem
return Illuminate\Filesystem\Filesystem

$name protected property

The console command name.
protected string $name
return string