class EnsurePunctuation (View source)

Methods

string
__invoke(string $string)

Ensures the given string ends with punctuation.

Details

string __invoke(string $string)

Ensures the given string ends with punctuation.

Parameters

string $string

Return Value

string