src/Kunstmaan/TranslatorBundle/Service/Translator/Translator.php
public function addResourcesFromCacher()
    {
        $resources = $this->resourceCacher->getCachedResources(false);

        if ($resources !== false) {
            $this->addResources($resources);

            return true;
        }

        return false;
    }
public function addResourcesFromCacher()
    {
        $resources = $this->resourceCacher->getCachedResources(false);

        if ($resources !== false) {
            $this->addResources($resources);

            return true;
        }

        return false;
    }
public function addResourcesFromCacher ( ) { $ resources = $ this -> resourceCacher -> getCachedResources ( false ) ; if ( $ resources !== false ) { $ this -> addResources ( $ resources ) ; return true ; } return false ; }
Add resources to the Translator from the cache
Add resources to the Translator from the cache