Skip to content

Commit

Permalink
Merge pull request #112 from brian-n-millar/1.9.x
Browse files Browse the repository at this point in the history
Make step 3 in Introduction doc clearer for MVC users
  • Loading branch information
gsteel committed Jan 2, 2024
2 parents 96bcaa4 + 092d2e8 commit c9fa4df
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/book/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,19 @@ you will need to do the following:
```php
// config/autoload/dependencies.global.php:
return [
'dependencies' => [
'<container config identifier>' => [
'factories' => [
MyNamespace\Command\MyCommand::class => MyNamespace\Command\MyCommandFactory::class,
],
],
];
```

> ### Container Config Identifier
>
> - for **Laminas MVC** projects, this has to be `service_manager`
> - for **Mezzio** projects, this has to be `dependencies`
4. Register the command with the CLI tooling:

```php
Expand Down

0 comments on commit c9fa4df

Please sign in to comment.