• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rich-id / terms-module / #64

11 Oct 2023 03:35PM UTC coverage: 83.731%. First build
#64

push

web-flow
Merge b679837ca into b062eebb9

146 of 146 new or added lines in 12 files covered. (100.0%)

772 of 922 relevant lines covered (83.73%)

3.01 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Domain/Model/SignatureListForm.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace RichId\TermsModuleBundle\Domain\Model;
6

7
use RichId\TermsModuleBundle\Domain\Entity\Terms;
8

9
class SignatureListForm
10
{
11
    public const SORT_SIGNATORY = 'signatory';
12
    public const SORT_DATE = 'date';
13

14
    public const SORT_ASC = 'asc';
15
    public const SORT_DESC = 'desc';
16

17
    /** @var string|null */
18
    private $search;
19

20
    /** @var Terms|null */
21
    private $terms;
22

23
    /** @var int */
24
    private $page = 1;
25

26
    /** @var int */
27
    private $numberItemsPerPage = 10;
28

29
    /** @var string */
30
    private $sort = self::SORT_SIGNATORY;
31

32
    /** @var string */
33
    private $sortDirection = self::SORT_DESC;
34

35
    public function getSearch(): ?string
36
    {
37
        return $this->search;
×
38
    }
39

40
    public function setSearch(?string $search): self
41
    {
42
        $this->search = $search;
×
43

44
        return $this;
×
45
    }
46

47
    public function getTerms(): ?Terms
48
    {
49
        return $this->terms;
×
50
    }
51

52
    public function setTerms(?Terms $terms): self
53
    {
54
        $this->terms = $terms;
×
55

56
        return $this;
×
57
    }
58

59
    public function getPage(): int
60
    {
61
        return $this->page;
×
62
    }
63

64
    public function setPage(int $page): self
65
    {
66
        $this->page = $page;
×
67

68
        return $this;
×
69
    }
70

71
    public function getNumberItemsPerPage(): int
72
    {
73
        return $this->numberItemsPerPage;
×
74
    }
75

76
    public function setNumberItemsPerPage(int $numberItemsPerPage): self
77
    {
78
        $this->numberItemsPerPage = $numberItemsPerPage;
×
79

80
        return $this;
×
81
    }
82

83
    public function getSort(): string
84
    {
85
        return $this->sort;
×
86
    }
87

88
    public function setSort(string $sort): self
89
    {
90
        $this->sort = $sort;
×
91

92
        return $this;
×
93
    }
94

95
    public function getSortDirection(): string
96
    {
97
        return $this->sortDirection;
×
98
    }
99

100
    public function setSortDirection(string $sortDirection): self
101
    {
102
        $this->sortDirection = $sortDirection;
×
103

104
        return $this;
×
105
    }
106
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc