Browse Source

Deprecate Flash stuff that has been moved into split off repo.

dereuromark 9 years ago
parent
commit
aeb4472f5c
2 changed files with 3 additions and 0 deletions
  1. 1 0
      src/Controller/Component/FlashComponent.php
  2. 2 0
      src/View/Helper/FlashHelper.php

+ 1 - 0
src/Controller/Component/FlashComponent.php

@@ -15,6 +15,7 @@ use Shim\Controller\Component\Component;
  * @author Mark Scherer
  * @copyright 2014 Mark Scherer
  * @license MIT
+ * @deprecated Use dereuromark/cakephp-flash plugin instead.
  *
  * @method void success(string $message, array $options = []) Set a message using "success" element
  * @method void error(string $message, array $options = []) Set a message using "error" element

+ 2 - 0
src/View/Helper/FlashHelper.php

@@ -11,6 +11,8 @@ use Tools\Controller\Component\FlashComponent;
  * Flash helper
  *
  * @author Mark Scherer
+ * @license MIT
+ * @deprecated Use dereuromark/cakephp-flash plugin instead.
  */
 class FlashHelper extends Helper {