throw new NoStackerException(array($this, $stackerName), self::EXCEPTION_NO_STACKER_FOUND);
} // END - if
- // So, is the stack full?
+ // So, is the stack empty?
$isFull = (($this->getStackCount($stackerName)) == 0);
// Return result
* @return $count Size of stack (array count)
* @throws NoStackerException If given stack is missing
*/
- protected final function getStackCount ($stackerName) {
+ public final function getStackCount ($stackerName) {
// Is the stack not yet initialized?
if (!$this->isStackInitialized($stackerName)) {
// Throw an exception