OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
firebase
/
vendor
/
ramsey
/
uuid
/
docs
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/12/2024 10:34:34 AM
rwxr-xr-x
📄
.gitignore
9 bytes
08/12/2024 10:33:34 AM
rw-r--r--
📄
Makefile
654 bytes
08/12/2024 10:33:34 AM
rw-r--r--
📄
README.md
771 bytes
08/12/2024 10:33:34 AM
rw-r--r--
📁
_static
-
08/12/2024 10:34:34 AM
rwxr-xr-x
📄
conf.py
3.32 KB
08/12/2024 10:33:34 AM
rw-r--r--
📄
copyright.rst
375 bytes
08/12/2024 10:33:34 AM
rw-r--r--
📁
customize
-
08/12/2024 10:34:32 AM
rwxr-xr-x
📄
customize.rst
2.3 KB
08/12/2024 10:33:34 AM
rw-r--r--
📄
database.rst
8.12 KB
08/12/2024 10:33:34 AM
rw-r--r--
📄
faq.rst
5.35 KB
08/12/2024 10:33:34 AM
rw-r--r--
📄
index.rst
1.22 KB
08/12/2024 10:33:34 AM
rw-r--r--
📄
introduction.rst
1012 bytes
08/12/2024 10:33:34 AM
rw-r--r--
📁
nonstandard
-
08/12/2024 10:34:32 AM
rwxr-xr-x
📄
nonstandard.rst
1.42 KB
08/12/2024 10:33:34 AM
rw-r--r--
📄
quickstart.rst
3.94 KB
08/12/2024 10:33:34 AM
rw-r--r--
📁
reference
-
08/12/2024 10:34:33 AM
rwxr-xr-x
📄
reference.rst
837 bytes
08/12/2024 10:33:34 AM
rw-r--r--
📄
requirements.txt
73 bytes
08/12/2024 10:33:34 AM
rw-r--r--
📁
rfc4122
-
08/12/2024 10:34:33 AM
rwxr-xr-x
📄
rfc4122.rst
2.59 KB
08/12/2024 10:33:34 AM
rw-r--r--
📄
testing.rst
6.11 KB
08/12/2024 10:33:34 AM
rw-r--r--
📄
tidelift.rst
3.14 KB
08/12/2024 10:33:34 AM
rw-r--r--
📁
upgrading
-
08/12/2024 10:34:34 AM
rwxr-xr-x
📄
upgrading.rst
167 bytes
08/12/2024 10:33:34 AM
rw-r--r--
Editing: customize.rst
Close
.. _customize: ============= Customization ============= .. toctree:: :titlesonly: :hidden: customize/ordered-time-codec customize/timestamp-first-comb-codec customize/calculators customize/validators customize/factory ramsey/uuid offers a variety of ways to modify the standard behavior of the library through dependency injection. Using `FeatureSet`_, `UuidFactory`_, and :php:meth:`Uuid::setFactory() <Ramsey\\Uuid\\Uuid::setFactory()>`, you are able to replace just about any `builder`_, `codec`_, `converter`_, `generator`_, `provider`_, and more. Ordered-time Codec The ordered-time codec exists to rearrange the bytes of a version 1, Gregorian time UUID so that the timestamp portion of the UUID is monotonically increasing. To learn more, see :ref:`customize.ordered-time-codec`. Timestamp-first COMB Codec The timestamp-first COMB codec replaces part of a version 4, random UUID with a timestamp, so that the UUID becomes monotonically increasing. To learn more, see :ref:`customize.timestamp-first-comb-codec`. Using a Custom Calculator It's possible to replace the default calculator ramsey/uuid uses. If your requirements require a different solution for making calculations, see :ref:`customize.calculators`. Using a Custom Validator If your requirements require a different level of validation or a different UUID format, you may replace the default validator. See :ref:`customize.validators`, to learn more. Replace the Default Factory Not only are you able to inject alternate builders, codecs, etc. into the factory and use the factory to generate UUIDs, you may also replace the global, static factory used by the static methods on the Uuid class. To find out how, see :ref:`customize.factory`. .. _UuidFactory: https://github.com/ramsey/uuid/blob/4.x/src/UuidFactory.php .. _FeatureSet: https://github.com/ramsey/uuid/blob/4.x/src/FeatureSet.php .. _codec: https://github.com/ramsey/uuid/tree/4.x/src/Codec .. _builder: https://github.com/ramsey/uuid/tree/4.x/src/Builder .. _converter: https://github.com/ramsey/uuid/tree/4.x/src/Converter .. _provider: https://github.com/ramsey/uuid/tree/4.x/src/Provider .. _generator: https://github.com/ramsey/uuid/tree/4.x/src/Generator