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

mlocati / PayWay / 5213927880

pending completion
5213927880

push

github

mlocati
Initial version

1803 of 1803 new or added lines in 47 files covered. (100.0%)

1313 of 1803 relevant lines covered (72.82%)

1.53 hits per line

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

62.5
/src/Http/Event.php
1
<?php
2

3
namespace MLocati\PayWay\Http;
4

5
class Event
6
{
7
    /**
8
     * @var string
9
     */
10
    private $url;
11

12
    /**
13
     * @var string
14
     */
15
    private $method;
16

17
    /**
18
     * @var string
19
     */
20
    private $requestBody;
21

22
    /**
23
     * @var \MLocati\PayWay\Http\Response
24
     */
25
    private $response;
26

27
    /**
28
     * @param string $url
29
     * @param string $method
30
     * @param string $requestBody
31
     */
32
    public function __construct($url, $method, $requestBody, Response $response)
33
    {
34
        $this->url = $url;
1✔
35
        $this->method = $method;
1✔
36
        $this->requestBody = $requestBody;
1✔
37
        $this->response = $response;
1✔
38
    }
39
    /**
40
     * @return string
41
     */
42
    public function getUrl()
43
    {
44
        return $this->url;
×
45
    }
46

47
    /**
48
     * @return string
49
     */
50
    public function getMethod()
51
    {
52
        return $this->method;
×
53
    }
54

55
    /**
56
     * @return string
57
     */
58
    public function getRequestBody()
59
    {
60
        return $this->requestBody;
×
61
    }
62

63
    /**
64
     * @return \MLocati\PayWay\Http\Response
65
     */
66
    public function getResponse()
67
    {
68
        return $this->response;
1✔
69
    }
70
}
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