Bolt\Translation\TranslationFile::addTranslatable PHP Method

addTranslatable() private method

Adds a string to the internal list of translatable strings.
private addTranslatable ( string $text )
$text string
    private function addTranslatable($text)
    {
        if (strlen($text) > 1 && !isset($this->translatables[$text])) {
            $this->translatables[$text] = '';
        }
    }