Beanstalk\Command\
IgnoreTube
¶Extends: | Beanstalk\Command |
---|---|
Description: | Ignore command |
Author: | Joshua Dechant <jdechant@shapeup.com> |
The “ignore” command is for consumers. It removes the named tube from the watch list for the current connection.
Class Methods
IgnoreTube::__construct
– ConstructorIgnoreTube::getCommand
– Get the command to send to the beanstalkd serverIgnoreTube::parseResponse
– Parse the response for success or failure.Beanstalk\Command\IgnoreTube::
__construct
($tube)¶Description: | Constructor |
---|---|
Parameters: |
|
Beanstalk\Command\IgnoreTube::
getCommand
()¶Description: | Get the command to send to the beanstalkd server |
---|---|
Returns: | string |
Beanstalk\Command\IgnoreTube::
parseResponse
($response[, $data = null, $conn = null])¶Description: | Parse the response for success or failure. |
---|---|
Parameters: |
|
Returns: | integer The number of tubes being watched |
Throws: | BeanstalkException When the requested tube cannot be ignored |
Throws: | BeanstalkException When any error occurs |