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
3 changes: 1 addition & 2 deletions service_container.rst
Original file line number Diff line number Diff line change
Expand Up @@ -407,12 +407,11 @@ example, suppose you want to make the admin email configurable:
class SiteUpdateManager
{
// ...
+ private string $adminEmail;

public function __construct(
private MessageGenerator $messageGenerator,
private MailerInterface $mailer,
+ private string $adminEmail
+ private string $adminEmail
) {
}

Expand Down
Loading