Symfony console command to dump dependency injection services.
composer require --dev phpyh/service-dumper-bundle
bin/console service my_service another_service
phpyh_service_dumper:
service_dumper: symfony_var_dumper
You can use var_dump
, symfony_var_dumper
, xdebug
or any valid service id with class that implements PHPyh\ServiceDumperBundle\ServiceDumper
.
By default, symfony_var_dumper
is used if Symfony VarDumper component is available, var_dump
otherwise.
phpyh_service_dumper:
service_finder: basic
You can use basic
or any valid service id with class that implements PHPyh\ServiceDumperBundle\ServiceFinder
.