Skip to content
Permalink
Browse files

MAGETWO-52101: Mark insecure methods as deprecated in Message\Manager…

…Interface
  • Loading branch information...
dkvashninbay committed May 18, 2016
1 parent 3207334 commit cd13a85fa7594a1d24af7cff1509011c04bb0f28
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/internal/Magento/Framework/Message/ManagerInterface.php
@@ -52,6 +52,7 @@ public function addMessages(array $messages, $group = null);
* @param string $message
* @param string|null $group
* @return ManagerInterface
* @deprecated
* @see \Magento\Framework\Message\ManagerInterface::addErrorMessage
*/
public function addError($message, $group = null);
@@ -62,6 +63,7 @@ public function addError($message, $group = null);
* @param string $message
* @param string|null $group
* @return ManagerInterface
* @deprecated
* @see \Magento\Framework\Message\ManagerInterface::addWarningMessage
*/
public function addWarning($message, $group = null);
@@ -72,6 +74,7 @@ public function addWarning($message, $group = null);
* @param string $message
* @param string|null $group
* @return ManagerInterface
* @deprecated
* @see \Magento\Framework\Message\ManagerInterface::addNoticeMessage
*/
public function addNotice($message, $group = null);
@@ -82,6 +85,7 @@ public function addNotice($message, $group = null);
* @param string $message
* @param string|null $group
* @return ManagerInterface
* @deprecated
* @see \Magento\Framework\Message\ManagerInterface::addSuccessMessage
*/
public function addSuccess($message, $group = null);
@@ -178,6 +182,8 @@ public function addUniqueMessages(array $messages, $group = null);
* @param string $alternativeText
* @param string|null $group
* @return ManagerInterface
* @deprecated
* @see \Magento\Framework\Message\ManagerInterface::addExceptionMessage
*/
public function addException(\Exception $exception, $alternativeText, $group = null);

0 comments on commit cd13a85

Please sign in to comment.
You can’t perform that action at this time.