Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| BackgroundIndexStrategy | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| updateIndex | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | |
| 3 | namespace Apie\DoctrineEntityDatalayer\IndexStrategy; |
| 4 | |
| 5 | use Apie\Core\Entities\EntityInterface; |
| 6 | use Apie\StorageMetadataBuilder\Interfaces\HasIndexInterface; |
| 7 | |
| 8 | class BackgroundIndexStrategy implements IndexStrategyInterface |
| 9 | { |
| 10 | |
| 11 | public function updateIndex(HasIndexInterface $doctrineEntity, EntityInterface $entity): void |
| 12 | { |
| 13 | // no-op. A console command does this |
| 14 | } |
| 15 | } |