\PhalApiFilter

Filter 拦截器接口

为应用实现接口请求拦截提供统一处理接口


实现和使用示例:

    class MyFilter implements Filter {

        public function check() {
            //TODO
        }
    }

//$ vim ./Public/init.php
//注册签名验证服务
DI()->filter = 'MyFilter';

Summary

Methods
Constants
check()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

check()

check()