编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « ArrayObject::unserialize
  • SplObserver::update »
  • PHP Manual
  • 各种类及接口
  • The SplObserver interface

The SplObserver interface

(PHP 5 >= 5.1.0, PHP 7)

简介

The SplObserver interface is used alongside SplSubject to implement the Observer Design Pattern.

接口摘要

SplObserver {
/* 方法 */
abstract public update ( SplSubject $subject ) : void
}

Table of Contents

  • SplObserver::update — Receive update from subject
相关文章
php 各种类及接口 the arrayobject classphp 接口 the countable interfacephp 日期/时间 the datetimeinterface interfacephp data structures the sequence interfacephp 预定义接口 生成器类php mongodb bson the mongodb bson maxkeyinterface interfacephp mongodb bson the mongodb bson utcdatetimeinterface interfacephp mysql xdevapi crudoperationsortable interfacephp mysql xdevapi databaseobject interfacephp 接口 the outeriterator interfacephp 接口 the recursiveiterator interfacephp 接口 the seekableiterator interfacephp 各种类及接口 the splobserver interfacephp 各种类及接口 the splsubject interfacephp readline 函数 初始化一个 readline 回调接口,然后终端输出提示信息并立即返回php 从 php 5.3.x 迁移到 php 5.4.x 新的类和接口php quick start guide dual procedural and object oriented interfacephp reflectionclass 获取接口(interface)名称php reflectionclass 检查类是否是一个接口(interface)php spl 各种类及接口
关注编程学问公众号
编程学问网 湘ICP备20001732号