/**
  * Set the {@link ContentNegotiationManager} to use to determine requested media types.
  * If not set, the default constructor is used.
  */
 public function setContentNegotiationManager(ContentNegotiationManager $contentNegotiationManager)
 {
     Assert::notNull($contentNegotiationManager);
     $this->contentNegotiationManager = $contentNegotiationManager;
 }