Skip to content

Commit

Permalink
Merge pull request #1953 from hydephp/document-reading-time-namespace
Browse files Browse the repository at this point in the history
Document reading time namespace
  • Loading branch information
caendesilva authored Sep 5, 2024
2 parents 4206ce3 + 41a16c9 commit c7dc9a4
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 c7dc9a4

Please sign in to comment.