SessionReadOnly
Overview:
Read-only accessor for Session values, intended for view rendering.
Use SessionReadOnly in rendering contexts that should read session values without allowing accidental writes.
Public API:
get($key)returnsSession::get($key).__get($key)returnsSession::get($key).name()returnsSession::name().exists($key)and__isset($key)returnSession::exists($key).