1 | <?php |
||
21 | class OutboxProviderPagerFanta extends AbstractProviderPagerFanta implements OutboxProviderPagerFantaInterface |
||
22 | { |
||
23 | /** |
||
24 | * A thread repository instance. |
||
25 | * |
||
26 | * @var ThreadRepositoryInterface |
||
27 | */ |
||
28 | protected $threadRepository; |
||
29 | |||
30 | /** |
||
31 | * How many items we show per page |
||
32 | * |
||
33 | * @var integer |
||
34 | */ |
||
35 | protected $itemsPerPage; |
||
36 | |||
37 | /** |
||
38 | * @param ThreadRepositoryInterface $threadRepository A thread repository instance |
||
39 | * @param integer $itemsPerPage Total items per page |
||
40 | */ |
||
41 | public function __construct(ThreadRepositoryInterface $threadRepository, $itemsPerPage) |
||
46 | |||
47 | /** |
||
48 | * {@inheritdoc} |
||
49 | */ |
||
50 | public function getOutboxThreadsPagerfanta(ParticipantInterface $participant, $currentPage) |
||
56 | } |
||
57 |