1 | <?php |
||
12 | abstract class HttpTransaction implements HttpTransactionInterface |
||
13 | { |
||
14 | use ORMBehaviors\Timestampable\Timestampable; |
||
15 | |||
16 | /** |
||
17 | * @var string |
||
18 | * |
||
19 | * @ORM\Column(type="string", nullable=true) |
||
20 | */ |
||
21 | protected $ip; |
||
22 | |||
23 | /** |
||
24 | * @var string |
||
25 | * |
||
26 | * @ORM\Column(type="text") |
||
27 | */ |
||
28 | protected $request; |
||
29 | |||
30 | /** |
||
31 | * @var string |
||
32 | * |
||
33 | * @ORM\Column(type="text", nullable=true) |
||
34 | */ |
||
35 | protected $response; |
||
36 | |||
37 | /** |
||
38 | * {@inheritdoc} |
||
39 | */ |
||
40 | public function getIp(): string |
||
44 | |||
45 | /** |
||
46 | * {@inheritdoc} |
||
47 | */ |
||
48 | public function setIp(string $ip): HttpTransactionInterface |
||
54 | |||
55 | /** |
||
56 | * {@inheritdoc} |
||
57 | */ |
||
58 | public function getRequest(): string |
||
62 | |||
63 | /** |
||
64 | * {@inheritdoc} |
||
65 | */ |
||
66 | public function setRequest($request): HttpTransactionInterface |
||
88 | |||
89 | /** |
||
90 | * {@inheritdoc} |
||
91 | */ |
||
92 | public function getResponse(): string |
||
96 | |||
97 | /** |
||
98 | * {@inheritdoc} |
||
99 | */ |
||
100 | public function setResponse(string $response): HttpTransactionInterface |
||
106 | } |
||
107 |