private function formatImageEffectSummary(array $summary) {
    $rendered = (string) $this->renderer->renderPlain($summary);
    $plaintext = strip_tags($rendered);
    $trimmed = trim($plaintext);
    $one_line = preg_replace('/[ \n]+/', ' ', $trimmed);
    return $one_line;
  }
private function formatImageEffectSummary(array $summary) {
    $rendered = (string) $this->renderer->renderPlain($summary);
    $plaintext = strip_tags($rendered);
    $trimmed = trim($plaintext);
    $one_line = preg_replace('/[ \n]+/', ' ', $trimmed);
    return $one_line;
  }
private function formatImageEffectSummary ( array $ summary ) { $ rendered = ( string ) $ this -> renderer -> renderPlain ( $ summary ) ; $ plaintext = strip_tags ( $ rendered ) ; $ trimmed = trim ( $ plaintext ) ; $ one_line = preg_replace ( '/[ \n]+/' , ' ' , $ trimmed ) ; return $ one_line ; }
Formats an image effect summary for use in a Gherkin data table.

@param array $summary
An image effect summary render array.

@return string
The summary formatted for use in a Gherkin data table.
Formats an image effect summary for use in a Gherkin data table .