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

Componere\Definition::getClosure

(Componere 2 >= 2.1.0)

Componere\Definition::getClosure — Get Closure

说明

public Componere\Definition::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

Exceptions

Warning

Shall throw RuntimeException if Definition was registered

Warning

Shall throw RuntimeException if name could not be found

相关文章
php componere the componere abstract definition classphp componere the componere definition classphp componere abstract definition add interfacephp componere abstract definition add methodphp componere abstract definition add traitphp componere abstract definition reflectionphp componere definition add constantphp componere definition add propertyphp componere definition definition constructionphp componere definition get closurephp componere definition get closuresphp componere definition state detectionphp componere definition registrationphp componere patch get closurephp componere patch get closuresphp componere patch state detectionphp intlchar get the fc nfkc closure property for a code pointphp componere componere 函数php reflectionfunction returns a dynamically created closure for the functionphp swffont loads a font definition
关注编程学问公众号
编程学问网 湘ICP备20001732号