lib/Session.php
public static function instance()
    {
        if (null === self::$_instance) {
            $session_factory = new SessionFactory;
            $session = $session_factory->newInstance($_COOKIE);
            $segment = $session->getSegment('Barebone\Session');

            self::$_instance = $segment;
        }
        return self::$_instance;
    }
public static function instance()
    {
        if (null === self::$_instance) {
            $session_factory = new SessionFactory;
            $session = $session_factory->newInstance($_COOKIE);
            $segment = $session->getSegment('Barebone\Session');

            self::$_instance = $segment;
        }
        return self::$_instance;
    }
public static function instance ( ) { if ( null === self :: $ _instance ) { $ session_factory = new SessionFactory ; $ session = $ session_factory -> newInstance ( $ _COOKIE ) ; $ segment = $ session -> getSegment ( 'Barebone\Session' ) ; self :: $ _instance = $ segment ; } return self :: $ _instance ; }
Instantiate Session Segment

@return Segment
Instantiate Session Segment