Files
luos/workflow/engine/src/Services/Api/ProcessMaker/Test2.php

31 lines
484 B
PHP
Raw Normal View History

<?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;
}
}