<?php
namespace Simox;

class Session extends SimoxServiceBase
{
	public function __construct() {}
    
    public function start()
    {
		session_start();
    }
    
    public function destroy()
    {
        $_SESSION = Array();
		session_destroy();
    }
	
	public function set( $name, $value )
	{
		$_SESSION[$name] = $value;
	}
	
	public function get( $name )
	{
		if ( isset($_SESSION[$name]) )
		{
			return $_SESSION[$name];
		}
		else
		{
			return false;
		}
	}
}

<?php
namespace Simox;

class Session extends SimoxServiceBase
{
	public function __construct() {}
    
    /**
     * Starts the session
     */
    public function start()
    {
		session_start();
    }
    
    /**
     * Destroys the session
     */
    public function destroy()
    {
        $_SESSION = Array();
		session_destroy();
    }
	
    /**
     * Sets the session
     *
     * @param string $key
     * @param string $value
     */
	public function set( $key, $value )
	{
		$_SESSION[$key] = $value;
	}
	
    /**
     * Returns the session
     *
     * @param string $key
     */
	public function get( $key )
	{
		if ( isset($_SESSION[$key]) )
		{
			return $_SESSION[$key];
		}
		else
		{
			return false;
		}
	}
}

Add comments and use key => value pair
Add comments and use key => value pair
