src/Core/WebSocket.php
public static function getSpaceFromToken($token) {
        $pieces = explode('::', $token);
        if ( count($pieces) != 4 ) return false;
        $space = implode('::', array_slice($pieces,0,2));
        return $space;
    }
public static function getSpaceFromToken($token) {
        $pieces = explode('::', $token);
        if ( count($pieces) != 4 ) return false;
        $space = implode('::', array_slice($pieces,0,2));
        return $space;
    }
public static function getSpaceFromToken ( $ token ) { $ pieces = explode ( '::' , $ token ) ; if ( count ( $ pieces ) != 4 ) return false ; $ space = implode ( '::' , array_slice ( $ pieces , 0 , 2 ) ) ; return $ space ; }
Pull out the host and link_id so as to create the "space"

The token includes the host, link_id, context_id, and user_id.
The space includes the host and link_id.

@param string $token The plaintext token

@return string The space for this link_id
Pull out the host and link_id so as to create the space