mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-25 17:45:35 +03:00
Add getDateTime() to UuidV2
This commit is contained in:
@@ -185,6 +185,25 @@ class UuidFactory implements UuidFactoryInterface
|
||||
$this->timeGenerator = $generator;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the DCE Security generator used by this factory
|
||||
*/
|
||||
public function getDceSecurityGenerator(): DceSecurityGeneratorInterface
|
||||
{
|
||||
return $this->dceSecurityGenerator;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the DCE Security generator to use for this factory
|
||||
*
|
||||
* @param DceSecurityGeneratorInterface $generator A generator to generate
|
||||
* binary data, based on a local domain and local identifier
|
||||
*/
|
||||
public function setDceSecurityGenerator(DceSecurityGeneratorInterface $generator): void
|
||||
{
|
||||
$this->dceSecurityGenerator = $generator;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the number converter used by this factory
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user