Phalcon\Queue\Beanstalk\Extended::ignoreTube PHP Метод

ignoreTube() публичный метод

Example return array: ['WATCHED' => 1] Added on 10-Jan-2014 20:04 IST by Tapan Kumar Thapa @ [email protected]
public ignoreTube ( string $tube ) : null | array
$tube string
Результат null | array
    public function ignoreTube($tube)
    {
        $result = null;
        $lines = $this->getWatchingResponse('ignore ' . $this->getTubeName($tube));
        if (!empty($lines)) {
            list($name, $value) = explode(' ', $lines);
            if (null !== $value) {
                $result[$name] = intval($value);
            }
        }
        return $result;
    }