uniqid
laravel/framework
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Generate a unique ID
uniqid
(
string $prefix
=
""
,
bool $more_entropy
=
false
):
string
public function
resetTag
(
$name
)
{
$this
->
store
->
forever
(
$this
->
tagKey
(
$name
),
$id
=
str_replace
(
'.'
,
''
,
uniqid
(
''
,
true
)));
return
$id
;
}
src/Illuminate/Cache/TagSet.php