Skip to content

Commit 8833398

Browse files
committed
use actions
1 parent 20c5dee commit 8833398

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Services/IndexingService.php

+10
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@ public function status(string $url)
2323
return $responce;
2424
}
2525

26+
public function update(string $url)
27+
{
28+
return $this->publish($url, "URL_UPDATED");
29+
}
30+
31+
public function remove(string $url)
32+
{
33+
return $this->publish($url, "URL_DELETED");
34+
}
35+
2636
public function publish(string $url, string $action)
2737
{
2838
$urlNotification = new Google_Service_Indexing_UrlNotification();

0 commit comments

Comments
 (0)