编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 预定义接口 arrayaccess(数组式访问)接口php 各种类及接口 the arrayobject classphp 接口 the countable interfacephp mongodb driver monitoring the mongodb driver monitoring subscriber interfacephp mysql xdevapi baseresult interfacephp 接口 the outeriterator interfacephp 接口 the recursiveiterator interfacephp 接口 the seekableiterator interfacephp 预定义接口 序列化接口php 各种类及接口 the splobserver interfacephp 各种类及接口 the splsubject interfacephp componere abstract definition add interfacephp 类与对象 对象接口php 从php 5.6.x 移植到 php 7.0.x 新的类和接口php reflectionclass 获取接口(interface)名称php reflectionclass 获取接口php reflectionclass 检查类是否是一个接口(interface)php spl 接口php spl 各种类及接口php yaf view interface the getscriptpath purpose
关注编程学问公众号
编程学问网 湘ICP备20001732号