Grammars
2 weeks ago
Processors
2 years ago
Builder.php
2 weeks ago
Expression.php
2 years ago
IndexHint.php
2 weeks ago
JoinClause.php
2 years ago
IndexHint.php
33 lines
| 1 | <?php |
| 2 | |
| 3 | namespace IAWPSCOPED\Illuminate\Database\Query; |
| 4 | |
| 5 | /** @internal */ |
| 6 | class IndexHint |
| 7 | { |
| 8 | /** |
| 9 | * The type of query hint. |
| 10 | * |
| 11 | * @var string |
| 12 | */ |
| 13 | public $type; |
| 14 | /** |
| 15 | * The name of the index. |
| 16 | * |
| 17 | * @var string |
| 18 | */ |
| 19 | public $index; |
| 20 | /** |
| 21 | * Create a new index hint instance. |
| 22 | * |
| 23 | * @param string $type |
| 24 | * @param string $index |
| 25 | * @return void |
| 26 | */ |
| 27 | public function __construct($type, $index) |
| 28 | { |
| 29 | $this->type = $type; |
| 30 | $this->index = $index; |
| 31 | } |
| 32 | } |
| 33 |