-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.php
59 lines (50 loc) · 946 Bytes
/
test.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?php
namespace Test;
class Test
{
/**
* Hello!
* this is a multiline description!
* have as many lines as you want
*
* @return string
*/
public function thisfuncnameisverylongtestFunc(): string
{
return "hi";
}
/**
* Declaration of func blue
*/
public function blue()
{
$test->func()
->function()
->test()
->indent();
$func = function () {
$multiple = "lines";
return "Test";
};
$array = [
"test",
"test",
"test",
"test",
"test"
];
return "hi";
}
/**
* protected Declaration of func blue
*
* @return string
*/
protected function blue(): string
{
$this->function();
$this->function();
$this->function();
return "hi";
}
}