Welcome Guest, Not a member yet? Register   Sign In
Dot notation support for getFlashdata() method
#1

session() global method and $session->get() method support for dot notation when accessing array elements. but getFlashdata() does not support for that.

Its very convenient if we can use getFlashdata() method like

PHP Code:
$session->getFlashdata('errors.password'

instead

PHP Code:
$session->getFlashdata('errors')['password'
Reply


Messages In This Thread
Dot notation support for getFlashdata() method - by MrWhite - 03-19-2021, 07:45 PM



Theme © iAndrew 2016 - Forum software by © MyBB