domci on queue*

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5265 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2019-05-13 06:52:39 +00:00
parent b5ccf521db
commit 78965f36af
2 changed files with 13 additions and 4 deletions

View File

@@ -16,6 +16,8 @@ class queue
private $queue = null;
/** Connect to the queue
* @param string $dsn The DSN to connect to queue
* @return $this;
*/
public function connect ($dsn)
{
@@ -24,10 +26,10 @@ class queue
/** Add a new entry to the end of the queue
* @param mixed $entry The entry to add
* @return $this;
*/
public function add ($entry)
{
return $this;
}
@@ -36,10 +38,16 @@ class queue
*/
public function getAll ()
{
}
/** Get the number of entries in the queue
*/
public function count ()
{
}
/** Clear all the entries of the queue
* @return $this;
*/
public function clear ()
{
@@ -53,7 +61,6 @@ class queue
*/
public function getFirst ($delete = false)
{
}
/** Get the last entry in the queue with optional removing of the entry
@@ -63,7 +70,6 @@ class queue
*/
public function getLast ($delete = false)
{
}
/** Get X entries starting at position Y
@@ -74,6 +80,5 @@ class queue
*/
public function getRange ($start, $number, $delete = false)
{
}
}