public function put(
        $data,
        $priority = \Pheanstalk_PheanstalkInterface::DEFAULT_PRIORITY,
        $delay = \Pheanstalk_PheanstalkInterface::DEFAULT_DELAY,
        $timeToRun = \Pheanstalk_PheanstalkInterface::DEFAULT_TTR
    ) {
        $this->pheanstalk->put($data, $priority, $delay, $timeToRun);
        return $this;
    }
public function put(
        $data,
        $priority = \Pheanstalk_PheanstalkInterface::DEFAULT_PRIORITY,
        $delay = \Pheanstalk_PheanstalkInterface::DEFAULT_DELAY,
        $timeToRun = \Pheanstalk_PheanstalkInterface::DEFAULT_TTR
    ) {
        $this->pheanstalk->put($data, $priority, $delay, $timeToRun);
        return $this;
    }
public function put ( $ data , $ priority = \ Pheanstalk_PheanstalkInterface :: DEFAULT_PRIORITY , $ delay = \ Pheanstalk_PheanstalkInterface :: DEFAULT_DELAY , $ timeToRun = \ Pheanstalk_PheanstalkInterface :: DEFAULT_TTR ) { $ this -> pheanstalk -> put ( $ data , $ priority , $ delay , $ timeToRun ) ; return $ this ; }
Puts a task string into the current
@param $data
@param int $priority
@param int $delay
@param int $timeToRun
@return $this
Puts a task string into the current