Proyectos de Subversion Moodle

Rev

Rev 1 | | Comparar con el anterior | 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
 */
1441 ariadna 12
final readonly class PossiblyUpdatedStyle
1 efrain 13
{
1441 ariadna 14
    private Style $style;
15
    private bool $isUpdated;
1 efrain 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
}