ZF-7614: Incorrect function name in the #42.2 manual entry


Manual entry #42.2 contains incorrect example of creating new queue. Method create does not exists. createQueue method should be used instead of create…

// Create a new queue
$queue2 = $queue->create('queue2');

Correct code

// Create a new queue
$queue2 = $queue->createQueue('queue2');


solved in SVN r17660 with fixing other 2 items too.

1) NG $queue = Zend_Queue('Array', $options); OK $queue = new Zend_Queue('Array', $options);

2) NG $queue->delete('queue2'); OK $queue->deleteQueue('queue2');