| 1 | <?php  | 
            ||
| 13 | abstract class Fixer  | 
            ||
| 14 | { | 
            ||
| 15 | /**  | 
            ||
| 16 | * @var Fixer  | 
            ||
| 17 | */  | 
            ||
| 18 | private $next;  | 
            ||
| 19 | |||
| 20 | /**  | 
            ||
| 21 | * @param SwaggerDocument $document  | 
            ||
| 22 | */  | 
            ||
| 23 | public function fix(SwaggerDocument $document)  | 
            ||
| 31 | |||
| 32 | /**  | 
            ||
| 33 | * @param Fixer $next  | 
            ||
| 34 | *  | 
            ||
| 35 | * @return $this  | 
            ||
| 36 | */  | 
            ||
| 37 | public function chain(Fixer $next)  | 
            ||
| 43 | |||
| 44 | /**  | 
            ||
| 45 | * @param SwaggerDocument $document  | 
            ||
| 46 | *  | 
            ||
| 47 | * @return void  | 
            ||
| 48 | */  | 
            ||
| 49 | abstract public function process(SwaggerDocument $document);  | 
            ||
| 50 | }  | 
            ||
| 51 |