PHP Class Collective\Remote\Console\TailCommand

Inheritance: extends Illuminate\Console\Command
Afficher le fichier Open project: laravelcollective/remote

Protected Properties

Свойство Type Description
$description string The console command description.
$name string The console command name.

Méthodes publiques

Méthode Description
fire ( ) : void Execute the console command.

Méthodes protégées

Méthode Description
findNewestLocalLogfile ( $path ) : mixed Get the path to the latest local Laravel log file.
getArguments ( ) : array Get the console command arguments.
getOptions ( ) : array Get the console command options.
getPath ( string $connection ) : string Get the path to the Laravel log file.
getRemote ( string $connection ) : Collective\Remote\Connection Get a connection to the remote server.
getRoot ( string $connection ) : string Get the path to the Laravel install root.
tailLocalLogs ( string $path ) : string Tail a local log file for the application.
tailLogFile ( string $path, string $connection ) : void Tail the given log file for the connection.
tailRemoteLogs ( string $path, string $connection ) : void Tail a remote log file at the given path and connection.

Method Details

findNewestLocalLogfile() protected méthode

Get the path to the latest local Laravel log file.
protected findNewestLocalLogfile ( $path ) : mixed
$path
Résultat mixed

fire() public méthode

Execute the console command.
public fire ( ) : void
Résultat void

getArguments() protected méthode

Get the console command arguments.
protected getArguments ( ) : array
Résultat array

getOptions() protected méthode

Get the console command options.
protected getOptions ( ) : array
Résultat array

getPath() protected méthode

Get the path to the Laravel log file.
protected getPath ( string $connection ) : string
$connection string
Résultat string

getRemote() protected méthode

Get a connection to the remote server.
protected getRemote ( string $connection ) : Collective\Remote\Connection
$connection string
Résultat Collective\Remote\Connection

getRoot() protected méthode

Get the path to the Laravel install root.
protected getRoot ( string $connection ) : string
$connection string
Résultat string

tailLocalLogs() protected méthode

Tail a local log file for the application.
protected tailLocalLogs ( string $path ) : string
$path string
Résultat string

tailLogFile() protected méthode

Tail the given log file for the connection.
protected tailLogFile ( string $path, string $connection ) : void
$path string
$connection string
Résultat void

tailRemoteLogs() protected méthode

Tail a remote log file at the given path and connection.
protected tailRemoteLogs ( string $path, string $connection ) : void
$path string
$connection string
Résultat void

Property Details

$description protected_oe property

The console command description.
protected string $description
Résultat string

$name protected_oe property

The console command name.
protected string $name
Résultat string