Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
<?php
2
 
3
declare(strict_types=1);
4
 
5
namespace OpenSpout\Writer\Common\Manager\Style;
6
 
7
use OpenSpout\Common\Entity\Style\Style;
8
 
9
/**
10
 * @internal
11
 */
12
final class PossiblyUpdatedStyle
13
{
14
    private readonly Style $style;
15
    private readonly bool $isUpdated;
16
 
17
    public function __construct(Style $style, bool $isUpdated)
18
    {
19
        $this->style = $style;
20
        $this->isUpdated = $isUpdated;
21
    }
22
 
23
    public function getStyle(): Style
24
    {
25
        return $this->style;
26
    }
27
 
28
    public function isUpdated(): bool
29
    {
30
        return $this->isUpdated;
31
    }
32
}