public function resolve(Command $command, InputInterface $input, OutputInterface $output, array $args) { return new RotatingFileHandler($this->replacePlaceholders($args['file']), $args['max_files']); }