This is an example of autoloading classes and including unit tests.
This commit is contained in:
parent
cf1f60e092
commit
dd6987ff02
7 changed files with 90 additions and 2 deletions
10
src/Example/Hello.php
Normal file
10
src/Example/Hello.php
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?php namespace Friendica\Directory\Example;
|
||||
|
||||
class Hello
|
||||
{
|
||||
|
||||
public function sayHello(){
|
||||
return 'Hello world!';
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue