command

Write a Simple CLI Command using Symfony

Using Symfony framework developers can create various types of commands which can be executed by consoles. Symfony already provides lots of console commands, Like php app/console cache:clear or php bin/console doctrine:mapping:import --force AcmeBlogBundle xml. Now if we want to create a command like those for…