Kraken\Channel\Model\Socket\Connection\ConnectionPool::register PHP Метод

register() защищенный Метод

protected register ( Connection $conn, array $current = [] ) : mixed[]
$conn Connection
$current array
Результат mixed[]
    protected function register(Connection $conn, $current = [])
    {
        return ['conn' => $conn, 'timestampIn' => $this->getNow() + $this->keepaliveOffset, 'timestampOut' => isset($current['timestampOut']) ? $current['timestampOut'] : 0];
    }