EnsureNoPunctuation

class EnsureNoPunctuation (View source)

Methods

string __invoke(string $string)

Ensures the given string does not end with punctuation.

Details

string __invoke(string $string)

Ensures the given string does not end with punctuation.

Parameters

string $string

Return Value

string

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/9.x/Illuminate/Console/View/Components/Mutators/EnsureNoPunctuation.html