PHP Class Acacha\Llum\Console\ConsoleCommand

Inheritance: use trait Acacha\Llum\Traits\GetSetable
Datei anzeigen Open project: acacha/llum Class Usage Examples

Protected Properties

Property Type Description
$argument array Command argument.
$description string Command description.
$name string Command name.

Public Methods

Method Description
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.

Method Details

argument() public method

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

description() public method

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

name() public method

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

Property Details

$argument protected_oe property

Command argument.
protected array $argument
return array

$description protected_oe property

Command description.
protected string $description
return string

$name protected_oe property

Command name.
protected string $name
return string