Notification Setup Error

We have detected an error in your notification set-up (Event-ID dab39dc24f564ec7bd4628d1305fd03c). Currently, we cannot inform you about inspection progress. Please check that the user 557058:bca11929-8c2d-43f2-8a82-c5416880d395 still has access to your repository or update the API account.

Completed
Push — develop ( 30a3e9...f32ee6 )
by Alexandru
09:10
created

PagerInterface

Size/Duplication

Total Lines 46
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 46
ccs 0
cts 0
cp 0
c 0
b 0
f 0

6 Methods

Rating   Name   Duplication   Size   Complexity  
hasNext() 0 1 ?
hasPrevious() 0 1 ?
fetchNext() 0 1 ?
fetchPrevious() 0 1 ?
fetchAll() 0 1 ?
getCurrent() 0 1 ?
1
<?php
2
/**
3
 * This file is part of the bitbucket-api package.
4
 *
5
 * (c) Alexandru G. <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
namespace Bitbucket\API\Http\Response;
11
12
use Buzz\Message\MessageInterface;
13
14
/**
15
 * @author Alexandru Guzinschi <[email protected]>
16
 */
17
interface PagerInterface
18
{
19
    /**
20
     * @access public
21
     * @return bool
22
     */
23
    public function hasNext();
24
25
    /**
26
     * @access public
27
     * @return bool
28
     */
29
    public function hasPrevious();
30
31
    /**
32
     * Fetch next page and return http response
33
     *
34
     * @access public
35
     * @return MessageInterface|null
36
     */
37
    public function fetchNext();
38
39
    /**
40
     * Fetch previous page and return http response
41
     *
42
     * @access public
43
     * @return MessageInterface|null
44
     */
45
    public function fetchPrevious();
46
47
    /**
48
     * Fetch all available pages.
49
     *
50
     * @access public
51
     * @return MessageInterface
52
     */
53
    public function fetchAll();
54
55
    /**
56
     * Get current http response.
57
     *
58
     * @access public
59
     * @return MessageInterface
60
     */
61
    public function getCurrent();
62
}
63