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

AboutCommand

Extends

Properties

protected

$signature string

The console command signature.

Default: 'about {--only= : The section to display} {--json : Output the information as JSON}'
protected

$description string

The console command description.

Default: 'Display basic information about your application'
protected

$composer Composer

The Composer instance.

Default: null
protected static

$data array

The data to display.

Default: []
protected static

$customDataResolvers array

The registered callables that add custom data to the command output.

Default: []

Methods

public

__construct ( Composer $composer ) : void

Create a new command instance.

Parameters

public

handle ( ) : int

Execute the console command.

protected

display ( $data ) : void

Display the application information.

Parameters

  • $data Illuminate\...\Collection
protected

displayDetail ( $data ) : void

Display the application information as a detail view.

Parameters

  • $data Illuminate\...\Collection
protected

displayJson ( $data ) : void

Display the application information as JSON.

Parameters

  • $data Illuminate\...\Collection
protected

gatherApplicationInformation ( ) : void

Gather information about the application.

protected

hasPhpFiles ( string $path ) : bool

Determine whether the given directory has PHP files.

Parameters

  • $path string
public static

add ( string $section , $data , string $value ) : void

Add additional data to the output of the "about" command.

Parameters

  • $section string
  • $data callable|string|array
  • $value string|null
protected static

addToSection ( string $section , $data , string $value ) : void

Add additional data to the output of the "about" command.

Parameters

  • $section string
  • $data callable|string|array
  • $value string|null
protected

sections ( ) : array

Get the sections provided to the command.

protected

toSearchKeyword ( string $value ) : string

Format the given string for searching.

Parameters

  • $value string