编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Componere\Patch
  • Componere\Patch::apply »
  • PHP Manual
  • Componere\Patch
  • Patch Construction

Componere\Patch::__construct

(Componere 2 >= 2.1.0)

Componere\Patch::__construct — Patch Construction

说明

public Componere\Patch::__construct ( object $instance )
public Componere\Patch::__construct ( object $instance , array $interfaces )

参数

instance

The target for this Patch

interfaces

A case insensitive array of class names

Exceptions

Warning

Shall throw RuntimeException if a class in interfaces cannot be found

Warning

Shall throw RuntimeException if an class in interfaces is not an interface

相关文章
php componere the componere abstract definition classphp componere the componere patch classphp commonmark node bulletlist bulletlist constructionphp componere definition definition constructionphp componere method method constructionphp componere method accessibility modificationphp componere method accessibility modificationphp componere method accessibility modificationphp componere patch applicationphp componere patch patch constructionphp componere patch patch derivationphp componere patch get closurephp componere patch get closuresphp componere patch state detectionphp componere patch reversalphp componere value value constructionphp componere value accessibility modificationphp componere value accessibility modificationphp componere 函数 castingphp xdiff 函数 patch a string with an unified diff
关注编程学问公众号
编程学问网 湘ICP备20001732号