|
|
|
@ -2,39 +2,54 @@
|
|
|
|
|
|
|
|
|
|
class ClassName |
|
|
|
|
{ |
|
|
|
|
/** doc */ |
|
|
|
|
static public $static = array( |
|
|
|
|
array('array'), |
|
|
|
|
'str' |
|
|
|
|
); |
|
|
|
|
/** doc */ |
|
|
|
|
static public $public_static = array(2, 'str'); |
|
|
|
|
/** doc */ |
|
|
|
|
static private $private_static = array(2, 'str'); |
|
|
|
|
/** doc */ |
|
|
|
|
static protected $protected_static = array(2, 'str'); |
|
|
|
|
/** doc */ |
|
|
|
|
public $property = array( |
|
|
|
|
array('array'), |
|
|
|
|
'str' |
|
|
|
|
); |
|
|
|
|
/** doc */ |
|
|
|
|
public $public_property = array(2, 'str'); |
|
|
|
|
/** doc */ |
|
|
|
|
private $private_property = array(2, 'str'); |
|
|
|
|
/** doc */ |
|
|
|
|
protected $protected_property = array(2, 'str'); |
|
|
|
|
|
|
|
|
|
/** doc */ |
|
|
|
|
public function __construct($a, $b) |
|
|
|
|
{ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function method(ClassName $a = null, $b = null) |
|
|
|
|
/** doc */ |
|
|
|
|
public function method(array $a = NULL, $b = NULL) |
|
|
|
|
{ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public function publicMethod(ClassName $a = null, $b = 2) |
|
|
|
|
/** doc */ |
|
|
|
|
public function publicMethod(ClassName $a = NULL, $b = 2) |
|
|
|
|
{ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected function protectedMethod(ClassName $a, $b = array(array("array"))) |
|
|
|
|
/** doc */ |
|
|
|
|
protected function protectedMethod(ClassName $a, $b = array( |
|
|
|
|
array('array') |
|
|
|
|
)) |
|
|
|
|
{ |
|
|
|
|
return 'protected'; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private function privateMethod(ClassName $a, $b = null) |
|
|
|
|
/** doc */ |
|
|
|
|
private function privateMethod(ClassName $a, $b = NULL) |
|
|
|
|
{ |
|
|
|
|
return 'private'; |
|
|
|
|
} |
|
|
|
|