i have the following code snippet: (the exits are for my debugging right now.)
$appId = 3;
if (isset($this->randomMedia))
unset($this->randomMedia); //unset for new randomImage in while
$this->setRandomMedia($appId); //<--- tells allready set
exit;
the setter for RandomMedia is telling me $this->randomMedia is allready set.
it seems like unset($this->randomMedia); is calling the getter getRandomMedia (wich is executing the setter cause of unset). Is it bug or is it a "feature"?