CataloguePage::addEndingSlash
Adds an ending slash to a string For url, ensures that the URL always has one ending '/'. No pattern matching are performed, i.e. testing syntax or protocol.
Signature
private function addEndingSlash(
$url )
Parameters
$url
—
Returns
- string
- $url with ending '/'