PHP 클래스 Papi_CLI_Command, papi

상속: extends WP_CLI_Command
파일 보기 프로젝트 열기: wp-papi/papi

보호된 메소드들

메소드 설명
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