public function put(
		$data,
		$priority = self::DEFAULT_PRIORITY,
		$delay = self::DEFAULT_DELAY,
		$ttr = self::DEFAULT_TTR
	)
	{
		$response = $this->_dispatch(
			new Pheanstalk_Command_PutCommand($data, $priority, $delay, $ttr)
		);

		return $response['id'];
	}
public function put(
		$data,
		$priority = self::DEFAULT_PRIORITY,
		$delay = self::DEFAULT_DELAY,
		$ttr = self::DEFAULT_TTR
	)
	{
		$response = $this->_dispatch(
			new Pheanstalk_Command_PutCommand($data, $priority, $delay, $ttr)
		);

		return $response['id'];
	}
public function put ( $ data , $ priority = self :: DEFAULT_PRIORITY , $ delay = self :: DEFAULT_DELAY , $ ttr = self :: DEFAULT_TTR ) { $ response = $ this -> _dispatch ( new Pheanstalk_Command_PutCommand ( $ data , $ priority , $ delay , $ ttr ) ) ; return $ response [ 'id' ] ; }
Puts a job on the queue.

@param string $data The job data
@param int $priority From 0 (most urgent) to 0xFFFFFFFF (least urgent)
@param int $delay Seconds to wait before job becomes ready
@param int $ttr Time To Run: seconds a job can be reserved for
@return int The new job ID
Puts a job on the queue .