/** * The functions that fixes and returns a value. * * Be warned: this function may return a lazy value. * * @param \MUtil_Lazy_StackInterface $stack A \MUtil_Lazy_StackInterface object providing variable data * @return mixed */ public function __toValue(\MUtil_Lazy_StackInterface $stack) { foreach ($this->_values as $value) { if ($value && $value instanceof \MUtil_Lazy_LazyInterface) { $value = \MUtil_Lazy::riseObject($value, $stack); } if (!$value) { return false; } } return true; }