File Manager Lite
Dir:
/home/codewavebd/public_html/vendor/symfony/uid/Factory
Upload
[..]
MockUuidFactory.php (5.22 KB)
Edit
Rename
Del
NameBasedUuidFactory.php (1017 B)
Edit
Rename
Del
RandomBasedUuidFactory.php (587 B)
Edit
Rename
Del
TimeBasedUuidFactory.php (882 B)
Edit
Rename
Del
UlidFactory.php (486 B)
Edit
Rename
Del
UuidFactory.php (3.34 KB)
Edit
Rename
Del
Edit: RandomBasedUuidFactory.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Uid\Factory; use Symfony\Component\Uid\UuidV4; class RandomBasedUuidFactory { /** * @param class-string $class */ public function __construct( private string $class, ) { } public function create(): UuidV4 { $class = $this->class; return new $class(); } }
Simpan