Php/docs/componere-definition.getclosures

来自菜鸟教程
跳转至:导航、​搜索

Componere\Definition::getClosures

(Componere 2 >= 2.1.0)

Componere\Definition::getClosuresGet Closures


说明

public Componere\Definition::getClosures ( ) : array

Shall return an array of Closures


返回值

Shall return all methods as an array of Closure objects bound to the correct scope


Exceptions

Warning Shall throw RuntimeException if Definition was registered