Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | /** |
3 | * This file is part of PHPPresentation - A pure PHP library for reading and writing |
4 | * presentations documents. |
5 | * |
6 | * PHPPresentation is free software distributed under the terms of the GNU Lesser |
7 | * General Public License version 3 as published by the Free Software Foundation. |
8 | * |
9 | * For the full copyright and license information, please read the LICENSE |
10 | * file that was distributed with this source code. For the full list of |
11 | * contributors, visit https://github.com/PHPOffice/PHPPresentation/contributors. |
12 | * |
13 | * @see https://github.com/PHPOffice/PHPPresentation |
14 | * |
15 | * @copyright 2009-2015 PHPPresentation contributors |
16 | * @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3 |
17 | */ |
18 | |
19 | declare(strict_types=1); |
20 | |
21 | namespace PhpOffice\PhpPresentation; |
22 | |
23 | /** |
24 | * PhpOffice\PhpPresentation\ComparableInterface. |
25 | */ |
26 | interface ComparableInterface |
27 | { |
28 | /** |
29 | * Get hash code. |
30 | * |
31 | * @return string Hash code |
32 | */ |
33 | public function getHashCode(): string; |
34 | |
35 | /** |
36 | * Get hash index. |
37 | * |
38 | * Note that this index may vary during script execution! Only reliable moment is |
39 | * while doing a write of a workbook and when changes are not allowed. |
40 | * |
41 | * @return int|null Hash index |
42 | */ |
43 | public function getHashIndex(): ?int; |
44 | |
45 | /** |
46 | * Set hash index. |
47 | * |
48 | * Note that this index may vary during script execution! Only reliable moment is |
49 | * while doing a write of a workbook and when changes are not allowed. |
50 | * |
51 | * @param int $value Hash index |
52 | * |
53 | * @return $this |
54 | */ |
55 | public function setHashIndex(int $value); |
56 | } |