Predis\Connection\AbstractConnection::getIdentifier PHP 메소드

getIdentifier() 보호된 메소드

Gets an identifier for the connection.
protected getIdentifier ( ) : string
리턴 string
    protected function getIdentifier()
    {
        if ($this->parameters->scheme === 'unix') {
            return $this->parameters->path;
        }
        return "{$this->parameters->host}:{$this->parameters->port}";
    }