From d5ce80d19f0127b061e4624f2782a684205bd851 Mon Sep 17 00:00:00 2001 From: Awilum Date: Sat, 25 Jun 2022 21:24:40 +0300 Subject: [PATCH] feat(expressions): remove `setBasePath` from Url expression --- src/flextype/core/Entries/Expressions/UrlExpression.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/flextype/core/Entries/Expressions/UrlExpression.php b/src/flextype/core/Entries/Expressions/UrlExpression.php index c53877d7..15a50143 100644 --- a/src/flextype/core/Entries/Expressions/UrlExpression.php +++ b/src/flextype/core/Entries/Expressions/UrlExpression.php @@ -30,8 +30,6 @@ class UrlExpression implements ExpressionFunctionProviderInterface new ExpressionFunction('getCurrentUrl', fn(Psr\Http\Message\ServerRequestInterface $request, bool $withQueryString = false) => 'getCurrentUrl($request, $withQueryString)', fn(Psr\Http\Message\ServerRequestInterface $request, bool $withQueryString = false) => getCurrentUrl($request, $withQueryString)), new ExpressionFunction('getBasePath', fn() => 'getBasePath()', fn() => getBasePath()), new ExpressionFunction('getBaseUrl', fn() => 'getBaseUrl()', fn() => getBaseUrl()), - new ExpressionFunction('setBasePath', fn(string $basePath) => 'setBasePath($basePath)', fn(string $basePath) => setBasePath($basePath)), - new ExpressionFunction('getBaseUrl', fn() => 'getBaseUrl()', fn() => getBaseUrl()), new ExpressionFunction('getAbsoluteUrl', fn() => 'getAbsoluteUrl()', fn() => getAbsoluteUrl()), new ExpressionFunction('getProjectUrl', fn() => 'getProjectUrl()', fn() => getProjectUrl()), new ExpressionFunction('getUriString', fn() => 'getUriString()', fn() => getUriString()),