Collective\Annotations\Routing\Annotations\Annotations\Controller::trimPath PHP Метод

trimPath() защищенный Метод

Trim the path slashes for a given prefix and path.
protected trimPath ( string $prefix, string $path ) : string
$prefix string
$path string
Результат string
    protected function trimPath($prefix, $path)
    {
        return trim(trim($prefix, '/') . '/' . trim($path, '/'), '/');
    }