Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 1
BackgroundIndexStrategy
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 updateIndex
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2
3namespace Apie\DoctrineEntityDatalayer\IndexStrategy;
4
5use Apie\Core\Entities\EntityInterface;
6use Apie\StorageMetadataBuilder\Interfaces\HasIndexInterface;
7
8class 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}