Commit 8bfb1c1 1 parent 1517bf3 commit 8bfb1c1 Copy full SHA for 8bfb1c1
File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 6
6
[ ![ Latest Version on Packagist] ( https://badgen.net/packagist/v/ghostwriter/option?cache=600 )] ( https://packagist.org/packages/ghostwriter/option )
7
7
[ ![ Downloads] ( https://badgen.net/packagist/dt/ghostwriter/option?cache=600&color=blue )] ( https://packagist.org/packages/ghostwriter/option )
8
8
9
- Provides an ` Option ` type implementation for PHP.
9
+ Provides an ** ` Option ` ** type implementation for PHP.
10
10
11
11
## Installation
12
12
@@ -52,6 +52,7 @@ divide(1, 1); // Some(1)
52
52
## API
53
53
54
54
### ` SomeInterface `
55
+
55
56
``` php
56
57
/**
57
58
* @immutable
@@ -74,6 +75,7 @@ interface SomeInterface extends OptionInterface
74
75
```
75
76
76
77
### ` NoneInterface `
78
+
77
79
``` php
78
80
/**
79
81
* @immutable
@@ -90,6 +92,7 @@ interface NoneInterface extends OptionInterface
90
92
```
91
93
92
94
### ` OptionInterface `
95
+
93
96
``` php
94
97
/**
95
98
* @implements IteratorAggregate<TValue >
@@ -274,6 +277,7 @@ Please see [CHANGELOG.md](./CHANGELOG.md) for more information what has changed
274
277
If you discover any security related issues, please email ` nathanael.esayeas@protonmail.com ` instead of using the issue tracker.
275
278
276
279
## Sponsors
280
+
277
281
[[ ` Become a GitHub Sponsor ` ] ( https://github.com/sponsors/ghostwriter )]
278
282
279
283
## Credits
You can’t perform that action at this time.
0 commit comments