Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit aca7f4d

Browse files
author
Jay Trees
committed
Add namespace (Glossary)
1 parent 283a2a4 commit aca7f4d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@ $glossary = $deepl->deleteGlossary($glossaryId);
141141

142142
List glossaries
143143
```php
144+
use \BabyMarkt\DeepL\Glossary;
145+
144146
$glossaries = $deepl->listGlossaries();
145147
foreach ($glossaries as $glossary) {
146148
var_dump($glossary);
@@ -149,6 +151,8 @@ foreach ($glossaries as $glossary) {
149151

150152
Get glossary meta information: creation date, is glossary ready to use ...
151153
```php
154+
use \BabyMarkt\DeepL\Glossary;
155+
152156
$glossaryInformation = $deepl->glossaryInformation($glossaryId);
153157
var_dump($glossaryInformation);
154158
```

0 commit comments

Comments
 (0)