src/danog/MadelineProto/Stream/ConnectionContext.php
public function getIntDc()
    {
        $dc = intval($this->dc);
        if ($this->test) {
            $dc += 10000;
        }
        if (strpos($this->dc, '_media')) {
            $dc = -$dc;
        }

        return $dc;
    }
public function getIntDc()
    {
        $dc = intval($this->dc);
        if ($this->test) {
            $dc += 10000;
        }
        if (strpos($this->dc, '_media')) {
            $dc = -$dc;
        }

        return $dc;
    }
public function getIntDc ( ) { $ dc = intval ( $ this -> dc ) ; if ( $ this -> test ) { $ dc += 10000 ; } if ( strpos ( $ this -> dc , '_media' ) ) { $ dc = - $ dc ; } return $ dc ; }
Get the int DC ID.

@return string|int
Get the int DC ID .