diff --git a/src/Controller/Component/FlashComponent.php b/src/Controller/Component/FlashComponent.php index 63c6535e987..daba7b160b0 100644 --- a/src/Controller/Component/FlashComponent.php +++ b/src/Controller/Component/FlashComponent.php @@ -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 {