You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* develop:
specify next release
fix readme
update dependencies
add workflow to create releases
reuse CI workflow
use innmind/static-analysis
drop php 8.1 support
replace phpunit by blackbox
remove unused dependency
use date range for the license copyright
fix php 8.4 deprecations
CS
Copy file name to clipboardExpand all lines: README.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,11 +41,14 @@ Factory::build()
41
41
->withShortOption('o', 'graph.svg')
42
42
->withInput($render($objectGraph)),
43
43
)
44
+
->unwrap()
44
45
->wait();
45
46
```
46
47
47
48
This will generate a `graph.svg` file representing the object graph of your application.
48
49
49
-
> **Note** This example uses `innmind/operating-system` to generate the svg file but the package is not a direct dependency, you can use the content returned by `$render()` however you wish.
50
+
> [!NOTE]
51
+
> This example uses `innmind/operating-system` to generate the svg file but the package is not a direct dependency, you can use the content returned by `$render()` however you wish.
50
52
51
-
> **Note**: You can pass an implementation of [`RewriteLocation`](src/RewriteLocation.php) as the first argument of `Render` so you can rewrite the url to the class file that will be used in the generated graph (useful if you want to generate urls to [open the files directly in your IDE](https://github.com/sanduhrs/phpstorm-url-handler#usage)).
53
+
> [!NOTE]
54
+
> You can pass an implementation of [`RewriteLocation`](src/RewriteLocation.php) as the first argument of `Render` so you can rewrite the url to the class file that will be used in the generated graph (useful if you want to generate urls to [open the files directly in your IDE](https://github.com/sanduhrs/phpstorm-url-handler#usage)).
0 commit comments