Skip to content

Use getBulkyItemStorage instead of getBulkyGoodsStorage #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 27, 2025
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