/
sample.php
69 lines (59 loc) · 1020 Bytes
/
sample.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
60
61
62
63
64
65
66
67
68
69
<?php
/**
* The sample PHP file with docs inside
* ===
*
* This is sample file description
*
* @license The License
* @copyright Ilya Eliseev
* @uses Some module
* @version 1.0beta
*/
/**
* The sample class description
*
* Another line of sample class description
*
*/
class SampleClass extends StdClass{
/**
* Sample property
*/
public $property = 'the value';
/**
* The constructor
*
*
* @param variant $param1 - sample parameter
* @param bool $param2 - another parameter
* @param array $param3 - array parameter
* - ['member1'] - first member description
* - int member2 - second member description
*
*/
function __construct($param1, $param2, $param3){
}
/**
* A method
* @category Flowers
*/
public function method($param1, $param2, $param3)
{
}
/**
* A method
* @category Bees
*/
public function another_method($param1, $param2, $param3)
{
}
/**
* A method
* @category Flowers
* @category Bees
*/
public function yet_another_method($param1, $param2, $param3)
{
}
}