Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 1
MovedImportTopic
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 getReplies
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2
3namespace Flow\Import\LiquidThreadsApi;
4
5use ArrayIterator;
6
7/**
8 * The Moved* series of topics handle the LQT move stubs.  They need to
9 * have their revision content rewriten from #REDIRECT to a template that
10 * has visible output like lqt generated per-request.
11 */
12class MovedImportTopic extends ImportTopic {
13    public function getReplies() {
14        $topPost = new MovedImportPost( $this->importSource, $this->apiResponse );
15
16        return new ArrayIterator( [ $topPost ] );
17    }
18}