function DevelCommands::uuid

Generate a Universally Unique Identifier (UUID).

Attributes

#[CLI\Command(name: self::UUID, aliases: [ 'uuid', 'devel-uuid', ])]

File

src/Drush/Commands/DevelCommands.php, line 243

Class

DevelCommands

Namespace

Drupal\devel\Drush\Commands

Code

public function uuid() : string {
  $uuid = new Php();
  return $uuid->generate();
}