| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace GeneaLabs\LaravelCaffeine; |
||
| 5 | /** |
||
| 6 | * @property string $url |
||
| 7 | * @property string $interval |
||
| 8 | */ |
||
| 9 | class Dripper extends Model |
||
| 10 | { |
||
| 11 | public function getUrlAttribute() : string |
||
| 19 | } |
||
| 20 | |||
| 21 | public function getIntervalAttribute() : string |
||
| 26 | ); |
||
| 27 | } |
||
| 28 | |||
| 29 | public function getHtmlAttribute() : string |
||
| 30 | { |
||
| 31 | return '<script>setInterval(function(){' |
||
| 32 | . "var e=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject('Microsoft.XMLHTTP');" |
||
| 38 |