1<?php 2 3declare(strict_types=1); 4 5namespace JMS\Serializer\Tests\Fixtures; 6 7class ObjectWithToString 8{ 9 private $input; 10 11 public function __construct($input) 12 { 13 $this->input = $input; 14 } 15 16 public function __toString() 17 { 18 return $this->input; 19 } 20} 21