0
1
Fork 0
hedera-web-mindshore/web/rest-request.php

19 lines
257 B
PHP
Raw Normal View History

2016-08-25 10:47:09 +00:00
<?php
namespace Vn\Web;
2018-05-23 10:14:20 +00:00
class Security {
2016-09-23 22:47:34 +00:00
const DEFINER = 1;
const INVOKER = 2;
}
2016-09-06 14:25:02 +00:00
2016-08-25 10:47:09 +00:00
/**
* Base class for REST services.
2022-05-26 06:08:31 +00:00
*/
2018-05-23 10:14:20 +00:00
abstract class RestRequest extends \Vn\Lib\Method {
2016-09-06 14:25:02 +00:00
const PARAMS = NULL;
2016-09-23 22:47:34 +00:00
const SECURITY = Security::DEFINER;
2016-09-24 14:32:31 +00:00
var $service;
2016-08-25 10:47:09 +00:00
}