| Total Complexity | 2 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class CodeSample |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | public $code; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var \Illuminate\Support\Collection|\Zing\QueryBuilder\Samples\IOSample[] |
||
| 18 | */ |
||
| 19 | public $ioSamples; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param \Zing\QueryBuilder\Samples\IOSample[] $ioSamples |
||
| 23 | */ |
||
| 24 | public function __construct(string $code, array $ioSamples) |
||
| 28 | } |
||
| 29 | |||
| 30 | public function print(): string |
||
| 48 |