| 1 | <?php |
||
| 9 | class Datatables extends BaseDatatables |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Create an engine instance with configured class. |
||
| 13 | * |
||
| 14 | * @param string $type |
||
| 15 | * @param mixed $source |
||
| 16 | * @return \Yajra\Datatables\Engines\BaseEngine|null |
||
| 17 | */ |
||
| 18 | protected function createEngineForType($type, $source) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Get the configured engine class. |
||
| 27 | * |
||
| 28 | * @param string $type |
||
| 29 | * @return string |
||
| 30 | */ |
||
| 31 | protected function getConfiguredEngineClass($type) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritdoc} |
||
| 38 | */ |
||
| 39 | public function queryBuilder($builder) |
||
| 44 | |||
| 45 | /** |
||
| 46 | * {@inheritdoc} |
||
| 47 | */ |
||
| 48 | public function eloquent($builder) |
||
| 53 | |||
| 54 | /** |
||
| 55 | * {@inheritdoc} |
||
| 56 | */ |
||
| 57 | public function collection($collection) |
||
| 66 | } |
||
| 67 |
This check marks access to variables or properties that have not been declared yet. While PHP has no explicit notion of declaring a variable, accessing it before a value is assigned to it is most likely a bug.