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

32 lines
515 B
PHP
Raw Normal View History

<?php
namespace Services\Api\ProcessMaker;
use \ProcessMaker\Services\Api;
use \Luracast\Restler\RestException;
class Test2 extends Api
{
public function hello2()
{
return 'Hello #2';
}
/**
* @url GET /getHello
*/
public function helloworld($param = '')
{
return 'Greetings, from a overridden url ' . $param;
}
/**
* @url GET /sample/other/large/:name
*/
public function sampleOther($name)
{
return 'Name: ' . $name;
}
}