Get a random tag

Bunch of ways to do this, first one that comes to mind is something like this

// Convert to array and shuffle it
$tags = A::shuffle($page->namepool()->split());

// Grab the first item of the array
$tag = A::first($tags);

// Do something with it
echo $tag;