Total Complexity | 4 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
5 | trait HandlesFrames |
||
6 | { |
||
7 | /** |
||
8 | * @var boolean |
||
9 | */ |
||
10 | protected $mustBeAccurate = false; |
||
11 | |||
12 | /** |
||
13 | * @var boolean |
||
14 | */ |
||
15 | protected $returnFrameContents = false; |
||
16 | |||
17 | public function accurate(): self |
||
18 | { |
||
19 | $this->mustBeAccurate = true; |
||
20 | |||
21 | return $this; |
||
22 | } |
||
23 | |||
24 | public function unaccurate(): self |
||
25 | { |
||
26 | $this->mustBeAccurate = false; |
||
27 | |||
28 | return $this; |
||
29 | } |
||
30 | |||
31 | public function getAccuracy(): bool |
||
34 | } |
||
35 | |||
36 | public function getFrameContents(): string |
||
41 | } |
||
42 | } |
||
43 |