| 1 | <?php |
||
| 14 | final class Store extends LuceneStore |
||
| 15 | { |
||
| 16 | use EloquentTrait; |
||
| 17 | |||
| 18 | private $index; |
||
| 19 | |||
| 20 | 9 | public function __construct(Delete $delete, Insert $insert, Index $index) |
|
| 25 | |||
| 26 | /** |
||
| 27 | * @param Model $model |
||
| 28 | */ |
||
| 29 | 1 | public function insertModel(Model $model, $deleteFirst = true) |
|
| 40 | |||
| 41 | /** |
||
| 42 | * @param Model $model |
||
| 43 | */ |
||
| 44 | 1 | public function deleteModel(Model $model) |
|
| 48 | |||
| 49 | /** |
||
| 50 | * @param Model $model |
||
| 51 | * @return array |
||
| 52 | */ |
||
| 53 | 1 | private function filterFields($model) |
|
| 57 | |||
| 58 | /** |
||
| 59 | * @param array $haystack |
||
| 60 | * @param array $needle |
||
| 61 | * @return array |
||
| 62 | * @todo refactor this out of here. |
||
| 63 | */ |
||
| 64 | 1 | private function filterKeysFromArray(array $haystack, array $needle) |
|
| 68 | } |
||
| 69 |
This check looks for access to properties that are not accessible from the current context.
If you need to make a property accessible to another context you can either raise its visibility level or provide an accessible getter in the defining class.