Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/notification-center/developers/_index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ Let's look at how the Core uses this to pass on file uploads from the form gener
<?php

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

Expand All @@ -200,7 +200,7 @@ look for example like this:
```php
<?php

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

if ($item instanceof FileItem) {
$email->attach(
Expand Down