LoremIpsum::punctuate
Punctuate.
Applies punctuation to a sentence. This includes a period at the end, the injection of commas as well as capitalizing the first letter of the first word of the sentence.
Signature
private function punctuate(array&
$sentences )
Parameters
$sentences
— array- the sentences we would like to punctuate