FlashComponent::_call($name, $args) renders the message using app/View/Element/Flash/$name.ctp.
For example, $controller->Flash->success('My message') would render the message using app/View/Element/success.ctp.
We should check for the template's existence, and then provide the correct types etc.
FlashComponent::_call($name, $args)renders the message usingapp/View/Element/Flash/$name.ctp.For example,
$controller->Flash->success('My message')would render the message usingapp/View/Element/success.ctp.We should check for the template's existence, and then provide the correct types etc.