Skip to content

Commit

Permalink
Added additional @methods to DocBlock of FlashComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
Xymanek committed Nov 13, 2015
1 parent b9d6081 commit dd2471e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Controller/Component/FlashComponent.php
Expand Up @@ -24,6 +24,9 @@
* The CakePHP FlashComponent provides a way for you to write a flash variable
* to the session from your controllers, to be rendered in a view with the
* FlashHelper.
*
* @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
*/
class FlashComponent extends Component
{
Expand Down

0 comments on commit dd2471e

Please sign in to comment.