Skip to content

Commit 80c4787

Browse files
committed
- README updated
1 parent f1101d6 commit 80c4787

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ putenv('MY_APP_SETTINGS=/path/to/config/file.php');
126126

127127

128128
### `UUID`
129-
Class UUID generates Universally Unique Identifiers following the [RFC 4122][rfc-4122].
129+
Class UUID generates `Universally Unique Identifiers` following the [RFC 4122][rfc-4122].
130130

131131
- `v1($address = null): string`
132132
- `v3(string $namespace, $name): string`
@@ -137,6 +137,20 @@ Class UUID generates Universally Unique Identifiers following the [RFC 4122][rfc
137137
- `toBase64(string $uuid): string`
138138
- `fromBase64(string $base64): string`
139139

140+
### `ULID`
141+
Class ULID generates `Universally Unique Lexicographically Sortable Identifiers`
142+
143+
- `generate(int $count = 1): self`
144+
- `fromULID(string $ulid): self`
145+
- `fromUUID(string $ulid): self`
146+
- `fromTimestamp(float $timestamp): self`
147+
- `fromDateTime(string $datetime): self`
148+
- `toULID(): array|string`
149+
- `toUUID(): array|string`
150+
- `toDateTime(): array|DateTime`
151+
- `count(): int`
152+
- `valid(string $uuid): bool`
153+
140154
Functions
141155
---------
142156
```php

0 commit comments

Comments
 (0)