We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39a691a commit 83d2d4bCopy full SHA for 83d2d4b
example.php
@@ -3,8 +3,8 @@
3
include('src/IndieWeb/MentionClient.php');
4
5
$url = 'https://github.com/aaronpk/mention-client';
6
-$client = new IndieWeb\MentionClient($url);
7
-$client->debug = true;
8
-$sent = $client->sendSupportedMentions();
+$client = new IndieWeb\MentionClient();
+$client->enableDebug();
+$sent = $client->sendMentions($url);
9
10
echo "Sent $sent mentions\n";
0 commit comments