loadMessagesFromDb() protected method Loads the messages
$cache public property The cache object or the application component
$enableCaching public property Whether to enable caching translated
$db public property The MongoDB connection object or the application
loadMessages() protected method Loads the message translation
$collection public property The name of the MongoDB collection
$cachingDuration public property The time in seconds that the
init() public method Initializes the DbMessageSource component