isStackInitialized() does currently not work with file-based stacks.
Used latest 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
// Set the stack here
$this->setStackerInstance($stackInstance);
}
+
+ /**
+ * Determines whether the stack 'urls' is empty.
+ *
+ * @return $isEmpty Whether the stack 'urls' is empty.
+ */
+ protected function isUrlStackEmpty () {
+ // Determine it
+ $isEmpty = $this->getStackerInstance()->isStackEmpty('urls');
+
+ // Return result
+ return $isEmpty;
+ }
}
// [EOF]
* Processes entries in the stack.
*
* @return void
- * @todo 0% done
+ * @todo ~ 10% done
*/
public function processStack () {
+ // Does the stack have some entries left?
+ if ($this->isUrlStackEmpty()) {
+ // Nothing to handle here
+ return;
+ } // END - if
+
$this->partialStub('Please implement this method.');
}
}
* Processes entries in the stack.
*
* @return void
- * @todo 0% done
+ * @todo ~10% done
*/
public function processStack () {
+ // Does the stack have some entries left?
+ if ($this->isUrlStackEmpty()) {
+ // Nothing to handle here
+ return;
+ } // END - if
+
$this->partialStub('Please implement this method.');
}
}
* Processes entries in the stack.
*
* @return void
- * @todo 0% done
+ * @todo ~10% done
*/
public function processStack () {
+ // Does the stack have some entries left?
+ if ($this->isUrlStackEmpty()) {
+ // Nothing to handle here
+ return;
+ } // END - if
+
$this->partialStub('Please implement this method.');
}
}
* Processes entries in the stack.
*
* @return void
- * @todo 0% done
+ * @todo ~10% done
*/
public function processStack () {
+ // Does the stack have some entries left?
+ if ($this->isUrlStackEmpty()) {
+ // Nothing to handle here
+ return;
+ } // END - if
+
$this->partialStub('Please implement this method.');
}
}
* Processes entries in the stack.
*
* @return void
- * @todo 0% done
+ * @todo ~10% done
*/
public function processStack () {
+ // Does the stack have some entries left?
+ if ($this->isUrlStackEmpty()) {
+ // Nothing to handle here
+ return;
+ } // END - if
+
$this->partialStub('Please implement this method.');
}
}
-Subproject commit e947d4d080c0780f1573344736abd2699e2e462a
+Subproject commit 5d02554156f746355bf6863924b38b784569be24