| Total Complexity | 2 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class IndexCreate extends AbstractQuery |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | private $name; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var QueryInterface |
||
| 20 | */ |
||
| 21 | private $query; |
||
| 22 | |||
| 23 | public function __construct( |
||
| 24 | RethinkInterface $rethink, |
||
| 25 | QueryInterface $query, |
||
| 26 | string $name |
||
| 27 | ) { |
||
| 28 | parent::__construct($rethink); |
||
| 29 | |||
| 30 | $this->query = $query; |
||
| 31 | $this->rethink = $rethink; |
||
| 32 | |||
| 33 | $this->name = $name; |
||
| 34 | } |
||
| 35 | |||
| 36 | public function toArray(): array |
||
| 45 | ], |
||
| 46 | ], |
||
| 50 |