PHP 클래스 Acacha\Llum\Console\ConsoleCommand

상속: use trait Acacha\Llum\Traits\GetSetable
파일 보기 프로젝트 열기: acacha/llum 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$argument array Command argument.
$description string Command description.
$name string Command name.

공개 메소드들

메소드 설명
argument ( array | null $argument = null ) : ConsoleCommand | string Set/get argument.
description ( null | string $description = null ) : ConsoleCommand | string Set/get description.
name ( null | string $name = null ) : ConsoleCommand | string Set/get name.

메소드 상세

argument() 공개 메소드

Set/get argument.
public argument ( array | null $argument = null ) : ConsoleCommand | string
$argument array | null
리턴 ConsoleCommand | string | string

description() 공개 메소드

Set/get description.
public description ( null | string $description = null ) : ConsoleCommand | string
$description null | string
리턴 ConsoleCommand | string | string

name() 공개 메소드

Set/get name.
public name ( null | string $name = null ) : ConsoleCommand | string
$name null | string
리턴 ConsoleCommand | string | string

프로퍼티 상세

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

Command argument.
protected array $argument
리턴 array

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

Command description.
protected string $description
리턴 string

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

Command name.
protected string $name
리턴 string