1 | <?php |
||
26 | final class PostsBySearchRequestDto implements ConstructableFromArrayInterface |
||
27 | { |
||
28 | use ConstructableFromArrayTrait; |
||
29 | |||
30 | /** |
||
31 | * @var string |
||
32 | */ |
||
33 | private $title; |
||
34 | |||
35 | /** |
||
36 | * @var DateTimeInterface |
||
37 | */ |
||
38 | private $publishedAt; |
||
39 | |||
40 | /** |
||
41 | * @var string |
||
42 | */ |
||
43 | private $summary; |
||
44 | |||
45 | /** |
||
46 | * @var string |
||
47 | */ |
||
48 | private $slug; |
||
49 | |||
50 | /** |
||
51 | * @var string |
||
52 | */ |
||
53 | private $fullName; |
||
54 | |||
55 | /** |
||
56 | * @throws \Exception |
||
57 | */ |
||
58 | public function __construct( |
||
71 | |||
72 | public function getTitle(): string |
||
76 | |||
77 | public function getPublishedAt(): DateTimeInterface |
||
81 | |||
82 | public function getSummary(): string |
||
86 | |||
87 | public function getSlug(): string |
||
91 | |||
92 | public function getFullName(): string |
||
96 | } |
||
97 |