public function setId($sid)
    {
        //argument 1 must be an integer
        Argument::i()->test(1, 'int');

        if (!self::$session) {
            Exception::i()->setMessage(self::ERROR_NOT_STARTED)->trigger();
        }

        return session_id((int) $sid);
    }
public function setId($sid)
    {
        //argument 1 must be an integer
        Argument::i()->test(1, 'int');

        if (!self::$session) {
            Exception::i()->setMessage(self::ERROR_NOT_STARTED)->trigger();
        }

        return session_id((int) $sid);
    }
public function setId ( $ sid ) { //argument 1 must be an integer Argument :: i ( ) -> test ( 1 , 'int' ) ; if ( ! self :: $ session ) { Exception :: i ( ) -> setMessage ( self :: ERROR_NOT_STARTED ) -> trigger ( ) ; } return session_id ( ( int ) $ sid ) ; }
Sets the session ID

@param *int $id The prescribed session ID to use

@return int
Sets the session ID