1 | <?php |
||
10 | final class Profile |
||
11 | { |
||
12 | /** |
||
13 | * @var string |
||
14 | */ |
||
15 | private $plugin; |
||
16 | |||
17 | /** |
||
18 | * @var string |
||
19 | */ |
||
20 | private $request; |
||
21 | |||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | private $response; |
||
26 | |||
27 | /** |
||
28 | * @var bool |
||
29 | */ |
||
30 | private $failed = false; |
||
31 | |||
32 | /** |
||
33 | * @return string |
||
34 | */ |
||
35 | public function getPlugin() |
||
36 | { |
||
37 | return $this->plugin; |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * @param string $plugin |
||
42 | */ |
||
43 | public function setPlugin(string $plugin) |
||
44 | { |
||
45 | $this->plugin = $plugin; |
||
46 | } |
||
47 | |||
48 | /** |
||
49 | * @return string |
||
50 | */ |
||
51 | public function getRequest() |
||
52 | { |
||
53 | return $this->request; |
||
54 | } |
||
55 | |||
56 | /** |
||
57 | * @param string $request |
||
58 | */ |
||
59 | public function setRequest($request) |
||
60 | { |
||
61 | $this->request = $request; |
||
62 | } |
||
63 | |||
64 | /** |
||
65 | * @return string |
||
66 | */ |
||
67 | public function getResponse() |
||
71 | |||
72 | /** |
||
73 | * @param string $response |
||
74 | */ |
||
75 | public function setResponse($response) |
||
79 | |||
80 | /** |
||
81 | * @return bool |
||
82 | */ |
||
83 | public function isFailed() |
||
87 | |||
88 | /** |
||
89 | * @param bool $failed |
||
90 | */ |
||
91 | public function setFailed($failed) |
||
95 | } |
||
96 |