/** * Get the names of the registered commands. * * @return string[] * * @since 4.0.0 */ public function getNames() : array { return array_keys($this->commandMap); }