Commit
Fixes #12798
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1288,6 +1288,7 @@ public function getTemplate() | |
* | ||
* @param string|null $layout Layout name or null to not use | ||
* @return $this | ||
* @deprecated 3.7.0 Use $email->viewBuilder()->setLayout() instead. | ||
*/ | ||
public function setLayout($layout) | ||
{ | ||
|
@@ -1303,6 +1304,7 @@ public function setLayout($layout) | |
/** | ||
* Gets layout. | ||
* | ||
* @deprecated 3.7.0 Use $email->viewBuilder()->getLayout() instead. | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
dereuromark
Member
|
||
* @return string | ||
*/ | ||
public function getLayout() | ||
|
@@ -1432,6 +1434,7 @@ public function viewVars($viewVars = null) | |
* | ||
* @param string $theme Theme name. | ||
* @return $this | ||
* @deprecated 3.7.0 Use $email->viewBuilder()->setTheme() instead. | ||
*/ | ||
public function setTheme($theme) | ||
{ | ||
|
@@ -1448,6 +1451,7 @@ public function setTheme($theme) | |
* Gets theme to use when rendering. | ||
* | ||
* @return string | ||
* @deprecated 3.7.0 Use $email->viewBuilder()->getTheme() instead. | ||
*/ | ||
public function getTheme() | ||
{ | ||
|
@@ -1483,6 +1487,7 @@ public function theme($theme = null) | |
* | ||
* @param array $helpers Helpers list. | ||
* @return $this | ||
* @deprecated 3.7.0 Use $email->viewBuilder()->setHelpers() instead. | ||
*/ | ||
public function setHelpers(array $helpers) | ||
{ | ||
|
@@ -1499,6 +1504,7 @@ public function setHelpers(array $helpers) | |
* Gets helpers to be used when rendering. | ||
* | ||
* @return array | ||
* @deprecated 3.7.0 Use $email->viewBuilder()->getHelpers() instead. | ||
*/ | ||
public function getHelpers() | ||
{ | ||
|
All @deprecated notices should be the last comment statement (under @return)?