Mustache templating for Yii, high-performance PHP framework.
Mustache for Yii is distributed under the MIT License.
yii\base\Object
now extend from BaseObject
.CACHE_KEY_PREFIX
constants.ViewRenderer::$cacheId
property.ViewRenderer::$cache
property.ViewRenderer::$enableCaching
property.yii\mustache\helpers\HTML
class to Html
.yii\mustache\helpers\URL
class to Url
.init()
methods for validating the required properties.Cache
class now extends from Object
class, and implements the Mustache_Cache
interface.Logger
class now extends from Object
class, and implements the PSR-3 logger interface.Cache
and Logger
classes.jsonSerialize()
and __toString()
methods.toJSON()
methods.final
modifier from the jsonSerialize()
methods.jsonSerialize()
and toJSON()
methods.Helper
class to the yii\mustache
namespace.CMustacheI18nHelper
helper for internationalization.CMustacheHtmlHelper::getTranslate()
method to CMustacheI18nHelper
class.
Comments