Skip to content

Commit

Permalink
Document reading time namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva authored Sep 4, 2024
1 parent 7591561 commit 41a16c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/digging-deeper/helpers.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ There are a few ways to create a new `ReadingTime` instance. Either create a new
In all cases, you will end up with a `ReadingTime` object that you can use to get the reading time.

```php
use Hyde\Support\ReadingTime;

// Via constructor
$time = new ReadingTime('Input text string');

Expand Down

0 comments on commit 41a16c9

Please sign in to comment.