Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
symfony_mailer
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
symfony_mailer
Merge requests
!127
Issue
#3382624
"Embed adjustments"
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Issue
#3382624
"Embed adjustments"
issue/symfony_mailer-3382624:3382624-embed-adjustments
into
1.x
Overview
0
Commits
1
Pipelines
2
Changes
6
Merged
Issue #3382624 "Embed adjustments"
Adam Shepherd
requested to merge
issue/symfony_mailer-3382624:3382624-embed-adjustments
into
1.x
6 months ago
Overview
0
Commits
1
Pipelines
2
Changes
6
Closes
#3382624
0
0
Merge request reports
Compare
1.x
version 1
633f4fcd
6 months ago
1.x (base)
and
latest version
latest version
633f4fcd
1 commit,
6 months ago
version 1
633f4fcd
1 commit,
6 months ago
6 files
+
26
−
42
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
src/BaseEmailInterface.php
+
5
−
10
View file @ 633f4fcd
Edit in single-file editor
Open in Web IDE
Show full file
@@ -104,7 +104,7 @@ interface BaseEmailInterface {
/**
* Sets "to" addresses.
*
* Valid: initialisation or build (build is deprecated in 1.
7
.0 and will fail
* Valid: initialisation or build (build is deprecated in 1.
6
.0 and will fail
* in 2.0.0).
*
* @param mixed $addresses
@@ -250,11 +250,6 @@ interface BaseEmailInterface {
* (optional) The MIME type. If omitted, the type will be guessed.
*
* @return $this
*
* @deprecated in symfony_mailer:1.6.0 and is removed from symfony_mailer:2.0.0.
* Instead you should use attach().
*
* @see https://www.drupal.org/node/3476132
*/
public
function
attachFromPath
(
string
$path
,
?string
$name
=
NULL
,
?string
$mimeType
=
NULL
);
@@ -284,20 +279,20 @@ interface BaseEmailInterface {
/**
* Gets the attachments.
*
* @return Drupal\symfony_mailer\AttachmentInterface[]
* The attachments. The key is the URI if there is one, else
an integer
.
* @return
\
Drupal\symfony_mailer\AttachmentInterface[]
* The attachments. The key is the URI if there is one, else
the content ID
.
*/
public
function
getAttachments
():
array
;
/**
* Removes an attachment.
*
* @param string
|int
$key
* @param string $key
* The key to the attachment within the array returned by getAttachments().
*
* @return $this
*/
public
function
removeAttachment
(
$key
):
static
;
public
function
removeAttachment
(
string
$key
):
static
;
/**
* Gets the headers object for getting or setting headers.
Loading