Skip to content

Commit

Permalink
Type tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
vbpupil committed Sep 6, 2022
1 parent fe6f039 commit dda33f0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,12 @@ items from the end.
## Sample Usage

```php
include 'vendor/autoload.php';

use vbpupil\Queue\Queue;

// create a new queue and specify a limit - here we have set it to hold 1 item.
$q = new queue(1);
$q = new Queue(1);

//add items
$q->addItem('Item 1')
Expand Down

0 comments on commit dda33f0

Please sign in to comment.