| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php namespace UnderstandMonolog\Handler; |
||
| 12 | protected function send($requestData) |
||
| 13 | { |
||
| 14 | $parts = [ |
||
| 15 | 'curl', |
||
| 16 | '-X POST', |
||
| 17 | '--cacert', |
||
| 18 | $this->sslBundlePath, |
||
| 19 | '-d', |
||
| 20 | escapeshellarg($requestData), |
||
| 21 | $this->getEndpoint(), |
||
| 22 | '> /dev/null 2>&1 &' |
||
| 23 | ]; |
||
| 24 | |||
| 25 | $cmd = implode(' ', $parts); |
||
| 26 | |||
| 27 | exec($cmd); |
||
| 28 | } |
||
| 29 | } |