From: Vincent Vanwaelscappel Date: Wed, 21 Jun 2023 12:51:33 +0000 (+0200) Subject: wip #6068 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=88755c56a7e44f885f31a0d43c46aa74dcec8b86;p=cubist_cms-back.git wip #6068 @0.25 --- diff --git a/src/app/Jobs/URL.php b/src/app/Jobs/URL.php new file mode 100644 index 0000000..8c63257 --- /dev/null +++ b/src/app/Jobs/URL.php @@ -0,0 +1,40 @@ +setUrl($url); + } + } + + public function handle() + { + PHP::neverStop(); + file_get_contents($this->getUrl()); + } + + /** + * @param mixed $url + */ + public function setUrl($url): void + { + $this->_url = $url; + } + + /** + * @return mixed + */ + public function getUrl() + { + return $this->_url; + } +}