public function __construct(Negotiator $negotiator, array $formats) { $this->negotiator = $negotiator; $this->formats = $formats; }