small mistakes in service locator guide.

besides, what is `app\components\SolrService`?
parent f1b64f60
......@@ -34,7 +34,7 @@ $locator->set('db', [
'password' => '',
]);
// register "db" using an anonymous function that builds a component
// register "search" using an anonymous function that builds a component
$locator->set('search', function () {
return new app\components\SolrService;
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment