编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 影响 php 行为的扩展 componerephp componere the componere abstract definition classphp componere the componere definition classphp componere the componere patch classphp componere abstract definition add interfacephp componere definition get closurephp 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 accessibility modificationphp componere 函数 castingphp componere 函数 castingphp xdiff 函数 patch a string with an unified diffphp componere 简介
关注编程学问公众号
编程学问网 湘ICP备20001732号