Skip to content

Commit 98bcb01

Browse files
authored
Use getBulkyItemStorage instead of getBulkyGoodsStorage (#10)
1 parent 4cefc92 commit 98bcb01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/notification-center/developers/_index.en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ Let's look at how the Core uses this to pass on file uploads from the form gener
175175
<?php
176176

177177
foreach ($files as $k => $file) {
178-
$voucher = $this->notificationCenter->getBulkyGoodsStorage()->store(
178+
$voucher = $this->notificationCenter->getBulkyItemStorage()->store(
179179
FileItem::fromPath($file['tmp_name'], $file['name'], $file['type'], $file['size'])
180180
);
181181

@@ -200,7 +200,7 @@ look for example like this:
200200
```php
201201
<?php
202202

203-
$item = $this->getNotificationCenter()->getBulkyGoodsStorage()->retrieve($voucher);
203+
$item = $this->getNotificationCenter()->getBulkyItemStorage()->retrieve($voucher);
204204

205205
if ($item instanceof FileItem) {
206206
$email->attach(

0 commit comments

Comments
 (0)