mirror of
https://github.com/flextype/flextype.git
synced 2025-08-06 13:16:45 +02:00
feat(expressions): remove setBasePath
from Url expression
This commit is contained in:
@@ -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()),
|
||||
|
Reference in New Issue
Block a user