/** * Return the set value * * @return mixed */ public function mock($aArgs) { $mValue = parent::mock($aArgs); if (count($this->aValues) > 0) { $this->setValue(array_shift($this->aValues)); } return $mValue; }
/** * Return the set value * * @return integer */ public function mock($aArgs) { $iValue = parent::mock($aArgs); $this->setValue($iValue + $this->iStep); return $iValue; }