src/Session/Session.php
public static function  get($key)
	{
		//check if this key exists 
		$exists = (isset($_SESSION[$key])) ? true : false;

		//return check status if false
		if ( ! $exists)  return $exists;

		//return the session data if found
		else return $_SESSION[$key];

	}
public static function  get($key)
	{
		//check if this key exists 
		$exists = (isset($_SESSION[$key])) ? true : false;

		//return check status if false
		if ( ! $exists)  return $exists;

		//return the session data if found
		else return $_SESSION[$key];

	}
public static function get ( $ key ) { //check if this key exists  $ exists = ( isset ( $ _SESSION [ $ key ] ) ) ? true : false ; //return check status if false if ( ! $ exists ) return $ exists ; //return the session data if found else return $ _SESSION [ $ key ] ; }
This method returns a session data by key

@param string $key The key with which to search session data
@return mixed The value stored in session
This method returns a session data by key