PHP Класс Spatie\Tail\TailCommand

Наследование: extends Illuminate\Console\Command
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$description string The console command description.
$name string The console command name.

Открытые методы

Метод Описание
__construct ( ) Create a new command instance.
fire ( ) : mixed Execute the console command.

Защищенные методы

Метод Описание
executeCommand ( string $command ) Execute the given command.
findNewestLocalLogfile ( ) : null | string Get the path to the latest local Laravel log file.
getArguments ( ) : array Get the console command arguments.
getOptions ( ) : array Get the console command options.
guardAgainstInvalidConnectionParameters ( $connectionParameters ) Guard againt invalid connectionParameters.
tailRemoteLogFile ( string $connection ) Tail the latest remote log file for the given connection.

Приватные методы

Метод Описание
tailLocalLogFile ( ) : null | string Tail the latest local log file.

Описание методов

__construct() публичный Метод

Create a new command instance.
public __construct ( )

executeCommand() защищенный Метод

Execute the given command.
protected executeCommand ( string $command )
$command string

findNewestLocalLogfile() защищенный Метод

Get the path to the latest local Laravel log file.
protected findNewestLocalLogfile ( ) : null | string
Результат null | string

fire() публичный Метод

Execute the console command.
public fire ( ) : mixed
Результат mixed

getArguments() защищенный Метод

Get the console command arguments.
protected getArguments ( ) : array
Результат array

getOptions() защищенный Метод

Get the console command options.
protected getOptions ( ) : array
Результат array

guardAgainstInvalidConnectionParameters() защищенный Метод

Guard againt invalid connectionParameters.
protected guardAgainstInvalidConnectionParameters ( $connectionParameters )
$connectionParameters

tailRemoteLogFile() защищенный Метод

Tail the latest remote log file for the given connection.
protected tailRemoteLogFile ( string $connection )
$connection string

Описание свойств

$description защищенное свойство

The console command description.
protected string $description
Результат string

$name защищенное свойство

The console command name.
protected string $name
Результат string