PHP Класс DayleRees\ContainerDebug\Command

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

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

Свойство Тип Описание
$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