src/Controller/Component/FlashAndRedirectTrait.php
public function handleFlashAndRedirect($type, $options) {
		$this->_handleFlash($type, $options);

		return $this->_handleRedirect($type, $options);
	}
public function handleFlashAndRedirect($type, $options) {
		$this->_handleFlash($type, $options);

		return $this->_handleRedirect($type, $options);
	}
public function handleFlashAndRedirect ( $ type , $ options ) { $ this -> _handleFlash ( $ type , $ options ) ; return $ this -> _handleRedirect ( $ type , $ options ) ; }
Handles flashes and redirects

@param string $type Prefix for the array key, mostly "success" or "error"
@param array $options Options
@return mixed
Handles flashes and redirects