1 | <?php |
||
28 | class Result |
||
29 | { |
||
30 | |||
31 | /** |
||
32 | * @var \DateTime |
||
33 | */ |
||
34 | protected $modifiedSince; |
||
35 | |||
36 | /** |
||
37 | * @var \DateTime |
||
38 | */ |
||
39 | protected $date; |
||
40 | |||
41 | /** |
||
42 | * @var \FeedIo\FeedInterface |
||
43 | */ |
||
44 | protected $feed; |
||
45 | |||
46 | /** |
||
47 | * @var \FeedIo\Adapter\ResponseInterface |
||
48 | */ |
||
49 | protected $response; |
||
50 | |||
51 | /** |
||
52 | * @var Document |
||
53 | */ |
||
54 | protected $document; |
||
55 | |||
56 | /** |
||
57 | * @var string |
||
58 | */ |
||
59 | protected $url; |
||
60 | |||
61 | /** |
||
62 | * @param Document $document |
||
63 | * @param FeedInterface $feed |
||
64 | * @param \DateTime $modifiedSince |
||
65 | * @param ResponseInterface $response |
||
66 | * @param $url |
||
67 | */ |
||
68 | 2 | public function __construct( |
|
82 | |||
83 | /** |
||
84 | * @return \DateTime |
||
85 | */ |
||
86 | 1 | public function getDate() |
|
90 | |||
91 | /** |
||
92 | * @return Document |
||
93 | */ |
||
94 | 1 | public function getDocument() |
|
98 | |||
99 | /** |
||
100 | * @return FeedInterface |
||
101 | */ |
||
102 | 2 | public function getFeed() |
|
106 | |||
107 | /** |
||
108 | * @return \DateTime |
||
109 | */ |
||
110 | 1 | public function getModifiedSince() |
|
114 | |||
115 | /** |
||
116 | * @return ResponseInterface |
||
117 | */ |
||
118 | 1 | public function getResponse() |
|
122 | |||
123 | /** |
||
124 | * @return string |
||
125 | */ |
||
126 | 1 | public function getUrl() |
|
130 | } |
||
131 |