protected function resolveValue($value, Mustache_Context $context)
    {
        if (($this->strictCallables ? is_object($value) : !is_string($value)) && is_callable($value)) {
            return $this->mustache
                ->loadLambda((string) call_user_func($value))
                ->renderInternal($context);
        }

        return $value;
    }
protected function resolveValue($value, Mustache_Context $context)
    {
        if (($this->strictCallables ? is_object($value) : !is_string($value)) && is_callable($value)) {
            return $this->mustache
                ->loadLambda((string) call_user_func($value))
                ->renderInternal($context);
        }

        return $value;
    }
protected function resolveValue ( $ value , Mustache_Context $ context ) { if ( ( $ this -> strictCallables ? is_object ( $ value ) : ! is_string ( $ value ) ) && is_callable ( $ value ) ) { return $ this -> mustache -> loadLambda ( ( string ) call_user_func ( $ value ) ) -> renderInternal ( $ context ) ; } return $ value ; }
Resolve a context value.

Invoke the value if it is callable, otherwise return the value.

@param mixed            $value
@param Mustache_Context $context

@return string
Resolve a context value .