protected function parseTexts(array $data)
    {
        foreach ($this->parseKeys as $key) {

            if (!isset($data[$key]) || !is_string($data[$key])) {
                continue;
            }

            $data[$key] = $this->textParser->parse($data[$key], $data);

        }

        return $data;
    }
protected function parseTexts(array $data)
    {
        foreach ($this->parseKeys as $key) {

            if (!isset($data[$key]) || !is_string($data[$key])) {
                continue;
            }

            $data[$key] = $this->textParser->parse($data[$key], $data);

        }

        return $data;
    }
protected function parseTexts ( array $ data ) { foreach ( $ this -> parseKeys as $ key ) { if ( ! isset ( $ data [ $ key ] ) || ! is_string ( $ data [ $ key ] ) ) { continue ; } $ data [ $ key ] = $ this -> textParser -> parse ( $ data [ $ key ] , $ data ) ; } return $ data ; }
Parse all keys that have to be parsed by text parser

@param array $data
@return array
Parse all keys that have to be parsed by text parser