W3cubDocs

/Laravel 11

EnsureRelativePaths

class EnsureRelativePaths (View source)

Methods

string __invoke(string $string)

Ensures the given string only contains relative paths.

Details

string __invoke(string $string)

Ensures the given string only contains relative paths.

Parameters

string $string

Return Value

string

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