1 | <?php |
||
14 | class KeeperResult implements ResultInterface |
||
15 | { |
||
16 | /** |
||
17 | * @var KeeperInterface |
||
18 | */ |
||
19 | protected $keeper; |
||
20 | |||
21 | /** |
||
22 | * @var integer |
||
23 | */ |
||
24 | protected $total = 0; |
||
25 | |||
26 | const LINKS_LIMIT = 50000; |
||
27 | |||
28 | /** |
||
29 | * @param KeeperInterface $keeper |
||
30 | */ |
||
31 | public function __construct(KeeperInterface $keeper) |
||
35 | |||
36 | /** |
||
37 | * @param UriInterface $url |
||
38 | * |
||
39 | * @return self |
||
40 | */ |
||
41 | public function addUri(UriInterface $url) |
||
51 | |||
52 | /** |
||
53 | * @return int |
||
54 | */ |
||
55 | public function save() |
||
63 | } |
||
64 |