PSR规范调整

This commit is contained in:
thinkphp
2015-10-04 13:05:15 +08:00
parent 1cfb3704c6
commit 27e724bb3c
135 changed files with 9426 additions and 11556 deletions

View File

@@ -11,20 +11,22 @@
namespace think\controller;
abstract class amf {
abstract class amf
{
/**
/**
* PHPRpc控制器架构函数
* @access public
*/
public function __construct() {
//导入类库
think\loader::import('vendor.zend.amf.server');
//实例化AMF
$server = new \Zend_Amf_Server();
$server -> setClass($this);
echo $server -> handle();
return ;
public function __construct()
{
//导入类库
think\loader::import('vendor.zend.amf.server');
//实例化AMF
$server = new \Zend_Amf_Server();
$server->setClass($this);
echo $server->handle();
return;
}
}