Bolt\Translation\TranslationFile::gatherTranslatableStrings PHP 메소드

gatherTranslatableStrings() 개인적인 메소드

Find all twig templates and bolt php code, extract translatables strings, merge with existing translations.
private gatherTranslatableStrings ( ) : array
리턴 array
    private function gatherTranslatableStrings()
    {
        $this->translatables = [];
        $this->scanTwigFiles();
        $this->scanPhpFiles();
        $this->scanContenttypeFields();
        $this->scanContenttypeRelations();
        $this->scanTaxonomies();
        ksort($this->translatables);
    }