编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 pthreads the collectable interfacephp 接口 the countable interfacephp data structures the collection interfacephp mongodb bson the mongodb bson binaryinterface interfacephp mongodb bson the mongodb bson serializable interfacephp mongodb driver exception the mongodb driver exception exception interfacephp 接口 the outeriterator interfacephp pht the runnable interfacephp 接口 the recursiveiterator interfacephp 接口 the seekableiterator interfacephp 各种类及接口 the splobserver interfacephp 各种类及接口 the splsubject interfacephp spl 函数 返回指定的类实现的所有接口。php opcode descriptions and examples add interfacephp reflectionclass 获取接口(interface)名称php reflectionclass 检查类是否是一个接口(interface)php spl 各种类及接口php splobserver receive update from subjectphp yaf view interface the setscriptpath purpose
关注编程学问公众号
编程学问网 湘ICP备20001732号