From 88755c56a7e44f885f31a0d43c46aa74dcec8b86 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 21 Jun 2023 14:51:33 +0200 Subject: [PATCH] wip #6068 @0.25 --- src/app/Jobs/URL.php | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 src/app/Jobs/URL.php 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; + } +} -- 2.39.5