v0.5.0
This commit is contained in:
13
app/common/Service/Remote.php
Normal file
13
app/common/Service/Remote.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
namespace ProVM\Service;
|
||||
|
||||
class Remote
|
||||
{
|
||||
public function __construct(protected Ipify $ipService, protected Repository $dbService) {}
|
||||
|
||||
public function update(): void
|
||||
{
|
||||
$ip = $this->ipService->get();
|
||||
$this->dbService->update($ip);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user