Friendica Global Directory This was the initial Friendica user directory, it was replaced by the friendica-directory.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
402 B

<?php
//Add the auto loader. This makes sure that we can find the files we need for a class.
require_once('vendor/autoload.php');
//This says, we want Hello to mean Friendica\Directory\Example\Hello.
//It's a shortcut.
use Friendica\Directory\Example\Hello;
//Here we use the shortcut and create a new Hello object.
$instance = new Hello();
//Let the Hello object call
echo $instance->sayHello();