编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Componere\Patch::derive
  • Componere\Patch::getClosures »
  • PHP Manual
  • Componere\Patch
  • Get Closure

Componere\Patch::getClosure

(Componere 2 >= 2.1.0)

Componere\Patch::getClosure — Get Closure

说明

public Componere\Patch::getClosure ( string $name ) : \Closure

Shall return a Closure for the method specified by name

参数

name

The case insensitive name of the method

返回值

A Closure bound to the correct scope and object

Exceptions

Warning

Shall throw RuntimeException if name could not be found

相关文章
php componere the componere patch classphp closure 复制一个闭包,绑定指定的$this对象和类作用域。php componere definition definition constructionphp componere definition get closurephp componere definition get closuresphp componere definition state detectionphp componere definition registrationphp 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 value interactionphp componere value accessibility detectionphp xdiff 函数 patch a file with an unified diffphp xdiff 函数 patch a string with a binary diffphp mysql xdevapi collectionmodify patch document
关注编程学问公众号
编程学问网 湘ICP备20001732号