Completed
Pull Request — master (#763)
by
unknown
14:22
created

ManagedStyle::isUpdated()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Box\Spout\Writer\Common\Manager\Style;
4
5
use Box\Spout\Common\Entity\Style\Style;
6
7
class ManagedStyle
8
{
9
    private $style;
10
    private $isUpdated;
11
12
    public function __construct(Style $style, bool $isUpdated)
13
    {
14
        $this->style = $style;
15
        $this->isUpdated = $isUpdated;
16
    }
17
18
    public function getStyle() : Style
19
    {
20
        return $this->style;
21
    }
22
23
    public function isUpdated() : bool
24
    {
25
        return $this->isUpdated;
26
    }
27
}
28