<?php str_ends_with(string $haystack, string $needle): bool
<?php { $pathAfterSymlink = $this->pathAfterSymlink($publicPath, $request->path()); return $pathAfterSymlink && str_ends_with($pathToFile, $pathAfterSymlink); }