src/SessionFlash.php
public function getCurrentData()
        {
            $current_data = $this->session->getValue($this->key_name);

            return isset($current_data) ? $current_data : $current_data = array();
        }
public function getCurrentData()
        {
            $current_data = $this->session->getValue($this->key_name);

            return isset($current_data) ? $current_data : $current_data = array();
        }
public function getCurrentData ( ) { $ current_data = $ this -> session -> getValue ( $ this -> key_name ) ; return isset ( $ current_data ) ? $ current_data : $ current_data = array ( ) ; }
Get all the data or data of a type.

@return mixed
Get all the data or data of a type .