PHP 클래스 DayleRees\ContainerDebug\Command

상속: extends Illuminate\Console\Command
파일 보기 프로젝트 열기: daylerees/container-debug 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$description string The console command description.
$name string The console command name.

공개 메소드들

메소드 설명
buildServiceTable ( array $services ) : Symfony\Component\Console\Helper\TableHelper Construct an ASCII table to display services.
buildTableHeaders ( ) : array Build the column headers for the services table.
buildTableRows ( array $services ) : array Build the rows for the services table.
calculateServiceResolutionTime ( string $identifier ) : string Calculate the time to resolve a service in microseconds.
fire ( ) : void Execute the command.
formatServiceDescription ( mixed $service, boolean $scalar = true ) : string Retrieve a suitable formatted service description.
getContainerBindings ( ) : array Retreive an array of container bindings in alphabetical order.
getServiceDescription ( mixed $service ) : string Retrieve a string representation of a service.
resolveService ( string $identifier ) : mixed Resolve a service from the container by its identifier.
serviceIsObject ( mixed $service ) : boolean Determine whether a service is an object.

메소드 상세

buildServiceTable() 공개 메소드

Construct an ASCII table to display services.
public buildServiceTable ( array $services ) : Symfony\Component\Console\Helper\TableHelper
$services array
리턴 Symfony\Component\Console\Helper\TableHelper

buildTableHeaders() 공개 메소드

Build the column headers for the services table.
public buildTableHeaders ( ) : array
리턴 array

buildTableRows() 공개 메소드

Build the rows for the services table.
public buildTableRows ( array $services ) : array
$services array
리턴 array

calculateServiceResolutionTime() 공개 메소드

Calculate the time to resolve a service in microseconds.
public calculateServiceResolutionTime ( string $identifier ) : string
$identifier string
리턴 string

fire() 공개 메소드

Execute the command.
public fire ( ) : void
리턴 void

formatServiceDescription() 공개 메소드

Retrieve a suitable formatted service description.
public formatServiceDescription ( mixed $service, boolean $scalar = true ) : string
$service mixed
$scalar boolean
리턴 string

getContainerBindings() 공개 메소드

Retreive an array of container bindings in alphabetical order.
public getContainerBindings ( ) : array
리턴 array

getServiceDescription() 공개 메소드

Retrieve a string representation of a service.
public getServiceDescription ( mixed $service ) : string
$service mixed
리턴 string

resolveService() 공개 메소드

Resolve a service from the container by its identifier.
public resolveService ( string $identifier ) : mixed
$identifier string
리턴 mixed

serviceIsObject() 공개 메소드

Determine whether a service is an object.
public serviceIsObject ( mixed $service ) : boolean
$service mixed
리턴 boolean

프로퍼티 상세

$description 보호되어 있는 프로퍼티

The console command description.
protected string $description
리턴 string

$name 보호되어 있는 프로퍼티

The console command name.
protected string $name
리턴 string