123456789101112131415161718192021222324 |
- <?php
- // +----------------------------------------------------------------------
- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
- // +----------------------------------------------------------------------
- // | Copyright (c) 2006-2014 http://thinkphp.cn All rights reserved.
- // +----------------------------------------------------------------------
- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
- // +----------------------------------------------------------------------
- // | Author: liu21st <liu21st@gmail.com>
- // +----------------------------------------------------------------------
- namespace Think;
- /**
- * ThinkPHP Behavior基础类
- */
- abstract class Behavior {
- /**
- * 执行行为 run方法是Behavior唯一的接口
- * @access public
- * @param mixed $params 行为参数
- * @return void
- */
- abstract public function run(&$params);
- }
|