public function __construct($contentType) { parent::__construct(sprintf('No serializer for content type %s available.', $contentType)); }