public function DevelCommands::uuid in Devel 8.3
Same name and namespace in other branches
- 8 src/Commands/DevelCommands.php \Drupal\devel\Commands\DevelCommands::uuid()
- 8.2 src/Commands/DevelCommands.php \Drupal\devel\Commands\DevelCommands::uuid()
- 4.x src/Commands/DevelCommands.php \Drupal\devel\Commands\DevelCommands::uuid()
Generate a Universally Unique Identifier (UUID).
@command devel:uuid @aliases uuid,devel-uuid @usage drush devel-uuid
Return value
string The generated uuid.
File
- src/
Commands/ DevelCommands.php, line 248
Class
- DevelCommands
- Class DevelCommands.
Namespace
Drupal\devel\CommandsCode
public function uuid() {
$uuid = new Php();
return $uuid
->generate();
}