private function replace()
    {
        foreach ($this->stream as &$content) {
            foreach ($this->replacements as $field) {
                $content = Text::replace($content, $field['field'], $field['value']);
            }
        }
        return $this->stream;
    }
private function replace()
    {
        foreach ($this->stream as &$content) {
            foreach ($this->replacements as $field) {
                $content = Text::replace($content, $field['field'], $field['value']);
            }
        }
        return $this->stream;
    }
private function replace ( ) { foreach ( $ this -> stream as & $ content ) { foreach ( $ this -> replacements as $ field ) { $ content = Text :: replace ( $ content , $ field [ 'field' ] , $ field [ 'value' ] ) ; } } return $ this -> stream ; }
Replace values on stream template
@return array
Replace values on stream template