return $body;
} /**
* Generate a list of all tokens in the final header.
*
* This doesn't need to be overridden in theory, but it is for implementation
* reasons to prevent potential breakage of attributes.
*/
protected function toTokens(string
$string = null
): array
{ $tokens = parent::
toTokens(parent::
getBodyAsString());
// Try creating any parameters
foreach ($this->parameters
as $name =>
$value) { if (null !==
$value) { // Add the semi-colon separator
$tokens[\
count($tokens) - 1
] .= ';';
$tokens =
array_merge($tokens,
$this->
generateTokenLines(' '.
$this->
createParameter($name,
$value)));
} } return $tokens;
}