closure definition的意思
closure definition中文翻譯:
閉包定義
相似詞語短語
muscle definition───肌肉定義
recursive definition───[數]遞歸定義
broad definition───廣泛的定義
dictionary definition───詞典中的定義
legal definition───法律定義
precise definition───[計]精確定義
predefinition───違約
recursive definitions───[數]遞歸定義
redefinition───n.重新定義
雙語使用場景
By default, they are passed by value, meaning that if we would update the value passed within the closure function definition, it would not update the outside value.───默認情況下,它們是由值傳遞的,意味著如果要更新傳遞到閉包函數定義內的值,則不更新外部值。
subtle but important difference between auth and list is that list is a closure, whereas auth is a private method. (Closures use an equals sign in the definition; methods use parentheses.)───auth和list之間微妙但重要的一點區別是list是一個閉包,而auth是一個私有方法(閉包在定義中使用等號;方法使用圓括號)。
Variables to be imported from the outside environment are specified in the use clause of the closure function definition.───從外部環境中導入的變量是在閉包函數定義的use子句中指定的。
英語使用場景
Note that the Person::sayHello method implementation creates an alias for the $this special variable and passes that to the closure definition.