$behaviors) { foreach ((array) $behaviors as $behavior) { \think\Hook::add($tag, $behavior, true); } } } }