Beanstalk\Command\ListTubes Class Ref

class Beanstalk\Command\ListTubes
Extends:Beanstalk\Command
Description:The list-tubes command returns a list of all existing tubes
Author:Joshua Dechant <jdechant@shapeup.com>

Class Methods

Beanstalk\Command\ListTubes::getCommand()
Description:Get the command to send to the beanstalkd server
Returns:string
Beanstalk\Command\ListTubes::parseResponse($response[, $data = null, $conn = null])
Description:

Parse the response for success or failure.

Parameters:
  • $response (string) – Response line, i.e, first line in response
  • $data (string) – Data recieved with reponse, if any, else null
  • $conn (BeanstalkConnection) – BeanstalkConnection use to send the command
Returns:

array List of all existing tubes

Throws:

BeanstalkException When any error occurs

Beanstalk\Command\ListTubes::returnsData()
Description:Does the command return data?
Returns:boolean