src/Console/BaseCommand.php
protected function getTubeStats($tube)
    {
        try {
            $stats = $this->getPheanstalk()->statsTube($tube);
        } catch (ServerException $e) {
            if ($this->isNotFoundException($e)) {
                throw new \RuntimeException("Tube '$tube' doesn't exist.");
            }

            throw $e;
        }

        return $stats;
    }
protected function getTubeStats($tube)
    {
        try {
            $stats = $this->getPheanstalk()->statsTube($tube);
        } catch (ServerException $e) {
            if ($this->isNotFoundException($e)) {
                throw new \RuntimeException("Tube '$tube' doesn't exist.");
            }

            throw $e;
        }

        return $stats;
    }
Returns statistics for the tube.

@param $tube

@throws ServerException
@throws \Exception

@return object|\Pheanstalk\Response