I\'m writing an open source application uses some Symfony components, and using Symfony Console component for interacting with shell.
But, i need to inject dependen
In Symfony 3.4, if autowire is configured correctly, services can be injected into the constructor of the command.
public function __construct( \AppBundle\Handler\Service\AwsS3Handler $s3Handler ) { parent::__construct(); $this->s3Handler = $s3Handler; }