function DevelCommands::uuid

Same name in this branch
  1. 5.x src/Commands/DevelCommands.php \Drupal\devel\Commands\DevelCommands::uuid()
Same name in other branches
  1. 4.x src/Commands/DevelCommands.php \Drupal\devel\Commands\DevelCommands::uuid()

Generate a Universally Unique Identifier (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();
}