\PhalApi_Filter

PhalApi_Filter 拦截器接口

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


实现和使用示例:

    class My_Filter implements PhalApi_Filter {

        public function check() {
            //TODO
        }
    }

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

Summary

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

Methods

check()

check()