Skip to content

Commit 50539fe

Browse files
committed
[doc] adjust AutoName prefix documentation
1 parent 6d5bf09 commit 50539fe

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,9 @@ class CreateUserCommand extends Command
151151
}
152152
```
153153

154-
By default, the command name's prefix is `app:`. You can override with your own
155-
prefix (or none at all):
154+
By default, the command name's prefix is `app:`. You can customize with your own
155+
prefix (or none at all) by overriding the `autoNamePrefix()` method from the
156+
`AutoName` trait:
156157

157158
```php
158159
use Symfony\Component\Console\Command\Command;

0 commit comments

Comments
 (0)