Updating API Rest Dispatching, adding alias support from a conf api.ini file

This commit is contained in:
Erik Amaru Ortiz
2013-11-26 17:17:36 -04:00
parent fca8338b24
commit 1faafa8ee4
103 changed files with 218 additions and 1160 deletions

View File

@@ -0,0 +1,30 @@
<?php
namespace Services\Api\ProcessMaker;
use \ProcessMaker\Api;
use \Luracast\Restler\RestException;
class Test2 extends Api
{
function hello()
{
return 'GEEET ALL';
}
/**
* @url GET /getHello
*/
function helloworld($param = '')
{
return 'Greetings, from a overridden url ' . $param;
}
/**
* @url GET /sample/other/large/:name
*/
function sampleOther($name)
{
return 'Name: ' . $name;
}
}