What does: self/Test mean after the function?
拉拉韦尔
拉拉韦尔 2020-06-17 08:53:37
0
1
2001
public static function Test():slef
{
 //函数体
}

public static function Test():slef{ //Function body}

What does: self or: Test mean here?

拉拉韦尔
拉拉韦尔

大牛之路

reply all(1)
Peter-Zhu

Use a colon after the method name to declare the type of the return value. It should be self in the code

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template