瀏覽代碼

Reformulated exception message

Hugo Briand 11 年之前
父節點
當前提交
d182cc0d1d
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      DependencyInjection/SonataAdminExtension.php

+ 3 - 3
DependencyInjection/SonataAdminExtension.php

@@ -47,13 +47,13 @@ BOOM
         if (!isset($bundles['KnpMenuBundle'])) {
             throw new \RuntimeException(<<<BOOM
 The AdminBundle requires the KnpMenuBundle, but you need to choose your version (and choose wisely, fellow padawan!).
-Please add either:
+Please fill in your composer.json file by adding either:
 ``"knplabs/knp-menu-bundle": "~1.1"``
 if you want the stable version or:
 ``"knplabs/knp-menu-bundle": "~2.0@dev",
 "knplabs/knp-menu": "~2.0@dev"``
-into your composer.json file if you want the MopaBootstrapBundle-compatible version and add the KnpMenuBundle into the AppKernel.
-Follow the KnpMenuBundle install documentation ,to be sure you're not forgetting anything!');
+if you want the MopaBootstrapBundle-compatible version. You'll need to add the KnpMenuBundle into the AppKernel as well.
+Follow the KnpMenuBundle install documentation, to be sure you're not forgetting anything!');
 BOOM
             );
         }