• 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

0.0
/src/Exception/MissingRequiredField.php
1
<?php
2

3
namespace MLocati\PayWay\Exception;
4

5
use MLocati\PayWay\Exception;
6

7
class MissingRequiredField extends Exception
8
{
9
    /**
10
     * @var string
11
     */
12
    private $fieldName;
13

14
    /**
15
     * @param string $fieldName
16
     */
17
    public function __construct($fieldName)
18
    {
19
        $this->fieldName = (string) $fieldName;
×
20
        parent::__construct("Missing required field: {$this->fieldName}");
×
21
    }
22

23
    /**
24
     * @return string
25
     */
26
    public function getFieldName()
27
    {
28
        return $this->fieldName;
×
29
    }
30
}
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