You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Matcher/Dumper/CompiledUrlMatcherDumper.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -447,7 +447,7 @@ private function getExpressionLanguage(): ExpressionLanguage
447
447
{
448
448
if (!isset($this->expressionLanguage)) {
449
449
if (!class_exists(ExpressionLanguage::class)) {
450
-
thrownew \LogicException('Unable to use expressions as the Symfony ExpressionLanguage component is not installed.');
450
+
thrownew \LogicException('Unable to use expressions as the Symfony ExpressionLanguage component is not installed. Try running "composer require symfony/expression-language".');
Copy file name to clipboardExpand all lines: Matcher/UrlMatcher.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -259,7 +259,7 @@ protected function getExpressionLanguage()
259
259
{
260
260
if (null === $this->expressionLanguage) {
261
261
if (!class_exists(ExpressionLanguage::class)) {
262
-
thrownew \LogicException('Unable to use expressions as the Symfony ExpressionLanguage component is not installed.');
262
+
thrownew \LogicException('Unable to use expressions as the Symfony ExpressionLanguage component is not installed. Try running "composer require symfony/expression-language".');
0 commit comments