[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
This file is part of the ramsey/uuid library For the full copyright and license information, please view the LICENSE file that was distributed with this source code.
Copyright: | Copyright (c) Ben Ramsey <[email protected]> |
License: | http://opensource.org/licenses/MIT MIT |
File Size: | 91 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
CombGenerator:: (3 methods):
__construct()
generate()
timestamp()
Class: CombGenerator - X-Ref
CombGenerator provides functionality to generate COMB (combined GUID/timestamp)__construct(RandomGeneratorInterface $generator, NumberConverterInterface $numberConverter) X-Ref |
Constructs a `CombGenerator` using a random-number generator and a number converter param: RandomGeneratorInterface $generator Random-number generator for the non-time part. param: NumberConverterInterface $numberConverter Instance of number converter. |
generate($length) X-Ref |
Generates a string of binary data of the specified length param: integer $length The number of bytes of random binary data to generate return: string A binary string |
timestamp() X-Ref |
Returns current timestamp as integer, precise to 0.00001 seconds return: string |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |