function ConsoleExamplePrivateCommand::getName

Same name and namespace in other branches
  1. 11.x core/modules/system/tests/modules/console_test/src/Command/ConsoleExamplePrivateCommand.php \Drupal\console_test\Command\ConsoleExamplePrivateCommand::getName()

File

core/modules/system/tests/modules/console_test/src/Command/ConsoleExamplePrivateCommand.php, line 25

Class

ConsoleExamplePrivateCommand
An example private command.

Namespace

Drupal\console_test\Command

Code

public function getName() : ?string {
  return 'example:command-private';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.