Skip to content

Commit

Permalink
MakeEncoderSerializer - changed command description.
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrgradzinski committed Nov 19, 2017
1 parent f02ce64 commit 5cfc4f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Command/MakeSerializerEncoderCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ final class MakeSerializerEncoderCommand extends AbstractCommand
protected function configure()
{
$this
->setDescription('Creates a new custom encoder class')
->setDescription('Creates a new serializer encoder class')
->addArgument('name', InputArgument::OPTIONAL, 'Choose a class name for your encoder (e.g. <fg=yellow>YamlEncoder</>).')
->addArgument('format', InputArgument::OPTIONAL, 'Pick your format name (e.g. <fg=yellow>yaml</>)')
->setHelp(file_get_contents(__DIR__.'/../Resources/help/MakeSerializerEncoder.txt'))
Expand Down Expand Up @@ -60,7 +60,7 @@ protected function getFiles(array $params): array
protected function writeNextStepsMessage(array $params, ConsoleStyle $io)
{
$io->text([
'Next: Open your new encoder class and start customizing it.',
'Next: Open your new serializer encoder class and start customizing it.',
'Find the documentation at <fg=yellow>http://symfony.com/doc/current/serializer/custom_encoders.html</>'
]);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/help/MakeSerializerEncoder.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
The <info>%command.name%</info> command generates a new encoder class.
The <info>%command.name%</info> command generates a new serializer encoder class.

<info>php %command.full_name% YamlEncoder</info>

Expand Down

0 comments on commit 5cfc4f8

Please sign in to comment.