src/Shared/Message/Mapping/MappingTrait.php
protected static function loadMappings()
    {
        // check status
        self::checkStatus();

        // mapping cache loaded already for $class
        if (static::hasMappings()) {
            return;
        }

        // load $class mapping
        $loadedClass = static::hasLoader(true);
        static::setMappings(
            $loadedClass ?
                $loadedClass::getLoader()->loadMessages(get_called_class()) : [],
            false
        );
    }
protected static function loadMappings()
    {
        // check status
        self::checkStatus();

        // mapping cache loaded already for $class
        if (static::hasMappings()) {
            return;
        }

        // load $class mapping
        $loadedClass = static::hasLoader(true);
        static::setMappings(
            $loadedClass ?
                $loadedClass::getLoader()->loadMessages(get_called_class()) : [],
            false
        );
    }
Load message mappings into cache for $class

@access protected