lib/Collection/Result/CollectionRunnerFactory.php
private function getQueryRunner(Query $query, int $flags = 0): QueryRunnerInterface
    {
        $showContextualSlots = (bool) ($flags & ResultSet::INCLUDE_UNKNOWN_ITEMS);

        if ($showContextualSlots && $query->isContextual()) {
            return new ContextualQueryRunner();
        }

        return new QueryRunner($this->cmsItemBuilder);
    }
private function getQueryRunner(Query $query, int $flags = 0): QueryRunnerInterface
    {
        $showContextualSlots = (bool) ($flags & ResultSet::INCLUDE_UNKNOWN_ITEMS);

        if ($showContextualSlots && $query->isContextual()) {
            return new ContextualQueryRunner();
        }

        return new QueryRunner($this->cmsItemBuilder);
    }
private function getQueryRunner ( Query $ query , int $ flags = 0 ) : QueryRunnerInterface { $ showContextualSlots = ( bool ) ( $ flags & ResultSet :: INCLUDE_UNKNOWN_ITEMS ) ; if ( $ showContextualSlots && $ query -> isContextual ( ) ) { return new ContextualQueryRunner ( ) ; } return new QueryRunner ( $ this -> cmsItemBuilder ) ; }
Builds the query runner for the provided query based on provided flags.
Builds the query runner for the provided query based on provided flags .