src/Session/Session.php
public static function getInstance()
    {
        if (!static::$instance instanceof self) {
            static::$instance = $session = new self();
            if (!$session->isStarted()) {
                $session->start();
            }
        }

        return static::$instance;
    }
public static function getInstance()
    {
        if (!static::$instance instanceof self) {
            static::$instance = $session = new self();
            if (!$session->isStarted()) {
                $session->start();
            }
        }

        return static::$instance;
    }
public static function getInstance ( ) { if ( ! static :: $ instance instanceof self ) { static :: $ instance = $ session = new self ( ) ; if ( ! $ session -> isStarted ( ) ) { $ session -> start ( ) ; } } return static :: $ instance ; }
Session singleton.

@return mixed
Session singleton .