| 1 | <?php  | 
            ||
| 19 | final class ShowResponse implements ApiResponse  | 
            ||
| 20 | { | 
            ||
| 21 | /**  | 
            ||
| 22 | * @var Route|null  | 
            ||
| 23 | */  | 
            ||
| 24 | private $route;  | 
            ||
| 25 | |||
| 26 | /**  | 
            ||
| 27 |      * {@inheritdoc} | 
            ||
| 28 | */  | 
            ||
| 29 | 1 | public static function create(array $data)  | 
            |
| 37 | |||
| 38 | /**  | 
            ||
| 39 | * ShowResponse constructor.  | 
            ||
| 40 | */  | 
            ||
| 41 | 1 | private function __construct(Route $route = null)  | 
            |
| 45 | |||
| 46 | /**  | 
            ||
| 47 | * @return Route|null  | 
            ||
| 48 | */  | 
            ||
| 49 | 1 | public function getRoute()  | 
            |
| 53 | }  | 
            ||
| 54 |