| Total Complexity | 5 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class DisposableEmailWrapper extends Base |
||
| 8 | { |
||
| 9 | |||
| 10 | 2 | private $domain; |
|
| 11 | |||
| 12 | 2 | public function process() |
|
| 13 | { |
||
| 14 | 2 | $this->initWrapper($this->setLocalName()); |
|
| 15 | 2 | ||
| 16 | 1 | $this->getDomain(); |
|
| 17 | 1 | $this->validateDisposableEmail(); |
|
| 18 | } |
||
| 19 | 2 | ||
| 20 | private function setLocalName() |
||
| 21 | 2 | { |
|
| 22 | $name = str_replace(__NAMESPACE__ . '\\', '', __CLASS__); |
||
| 23 | 2 | return str_replace('Wrapper', '', $name); |
|
| 24 | 2 | } |
|
| 25 | |||
| 26 | private function getDomain() |
||
| 30 | } |
||
| 31 | |||
| 32 | private function validateDisposableEmail() |
||
| 40 | } |
||
| 41 | } |