JFIF x x C C " } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w !1AQ aq"2B #3Rbr{
File "EnsurePunctuation.php"
Full Path: /var/www/laravel_filter/vendor/laravel/framework/src/Illuminate/Console/View/Components/Mutators/EnsurePunctuation.php
File size: 400 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace Illuminate\Console\View\Components\Mutators;
class EnsurePunctuation
{
/**
* Ensures the given string ends with punctuation.
*
* @param string $string
* @return string
*/
public function __invoke($string)
{
if (! str($string)->endsWith(['.', '?', '!', ':'])) {
return "$string.";
}
return $string;
}
}