src/Spiritix/LadaCache/QueryHandler.php
public function invalidateQuery($statementType, $values = [])
    {
        $this->constructCollector();

        /* @var Reflector $reflector */
        $reflector = new Reflector($this->builder, $statementType, $values);

        /* @var Tagger $tagger */
        $tagger = new Tagger($reflector);
        $tags = $tagger->getTags();

        $hashes = $this->invalidator->invalidate($tags);

        $action = 'Invalidation (' .  $statementType . ')';
        $this->destructCollector($reflector, $tags, $hashes, $action);
    }
public function invalidateQuery($statementType, $values = [])
    {
        $this->constructCollector();

        /* @var Reflector $reflector */
        $reflector = new Reflector($this->builder, $statementType, $values);

        /* @var Tagger $tagger */
        $tagger = new Tagger($reflector);
        $tags = $tagger->getTags();

        $hashes = $this->invalidator->invalidate($tags);

        $action = 'Invalidation (' .  $statementType . ')';
        $this->destructCollector($reflector, $tags, $hashes, $action);
    }
public function invalidateQuery ( $ statementType , $ values = [ ] ) { $ this -> constructCollector ( ) ; /* @var Reflector $reflector */ $ reflector = new Reflector ( $ this -> builder , $ statementType , $ values ) ; /* @var Tagger $tagger */ $ tagger = new Tagger ( $ reflector ) ; $ tags = $ tagger -> getTags ( ) ; $ hashes = $ this -> invalidator -> invalidate ( $ tags ) ; $ action = 'Invalidation (' . $ statementType . ')' ; $ this -> destructCollector ( $ reflector , $ tags , $ hashes , $ action ) ; }
Invalidates a query.

@param string $statementType The type of the statement that caused the invalidation
@param array $values         The values to be modified
Invalidates a query .