sdk/aliyun-mns-php-sdk/AliyunMNS/Http/HttpClient.php
private function parseEndpoint()
    {
        $pieces = explode("//", $this->endpoint);
        $host = end($pieces);

        $host_pieces = explode(".", $host);
        $this->accountId = $host_pieces[0];
        $region_pieces = explode("-internal", $host_pieces[2]);
        $this->region = $region_pieces[0];
    }
private function parseEndpoint()
    {
        $pieces = explode("//", $this->endpoint);
        $host = end($pieces);

        $host_pieces = explode(".", $host);
        $this->accountId = $host_pieces[0];
        $region_pieces = explode("-internal", $host_pieces[2]);
        $this->region = $region_pieces[0];
    }
private function parseEndpoint ( ) { $ pieces = explode ( "//" , $ this -> endpoint ) ; $ host = end ( $ pieces ) ; $ host_pieces = explode ( "." , $ host ) ; $ this -> accountId = $ host_pieces [ 0 ] ; $ region_pieces = explode ( "-internal" , $ host_pieces [ 2 ] ) ; $ this -> region = $ region_pieces [ 0 ] ; }
This function is for SDK internal use
This function is for SDK internal use