WP_CLI\Dispatcher
Subcommand::get_alias()
If an alias is set, grant access to it. Aliases permit subcommands to be instantiated with a secondary identity.
Method of the class: Subcommand{}
No Hooks.
Return
String
.
Usage
$Subcommand = new Subcommand(); $Subcommand->get_alias();
Subcommand::get_alias() Subcommand::get alias code WP-CLI 2.8.0-alpha
public function get_alias() { return $this->alias; }