domci on queue*
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5265 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -21,6 +21,8 @@ class queuefile extends queue
|
||||
private $queue = null;
|
||||
|
||||
/** Connect to the queue. Create it if not exists
|
||||
* @param string $dsn The DSN to connect to queue
|
||||
* @return $this;
|
||||
*/
|
||||
public function connect ($dsn)
|
||||
// {{{
|
||||
@@ -41,6 +43,7 @@ class queuefile extends queue
|
||||
|
||||
/** Add a new entry to the end of the queue
|
||||
* @param mixed $entry The entry to add
|
||||
* @return $this;
|
||||
*/
|
||||
public function add ($entry)
|
||||
// {{{
|
||||
@@ -94,6 +97,7 @@ class queuefile extends queue
|
||||
// }}}
|
||||
|
||||
/** Clear all the entries of the queue
|
||||
* @return $this;
|
||||
*/
|
||||
public function clear ()
|
||||
// {{{
|
||||
|
||||
Reference in New Issue
Block a user