PHP Класс Papi_CLI_Command, papi

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

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

Метод Описание
get_default_format_fields ( ) : null | string | array Get default fields for formatter.
get_format_args ( array $assoc_args ) : array Get format args that will be passed into CLI Formatter.
get_formatter ( array $assoc_args ) : Formatter Get formatter object based on supplied arguments.

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

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

Class that extends Papi_CLI_Command should override this method.
protected get_default_format_fields ( ) : null | string | array
Результат null | string | array

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

Get format args that will be passed into CLI Formatter.
protected get_format_args ( array $assoc_args ) : array
$assoc_args array Associative args from CLI
Результат array Formatter args

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

Get formatter object based on supplied arguments.
protected get_formatter ( array $assoc_args ) : Formatter
$assoc_args array Associative args from CLI to determine formattin
Результат WP_CLI\Formatter