Skip to content

Commit 7c8be5d

Browse files
committed
small updates
1 parent d36e300 commit 7c8be5d

File tree

3 files changed

+18
-7
lines changed

3 files changed

+18
-7
lines changed

config/md/index.tpl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
title: Documentation of class {{classname}}
3+
generator: Axels php-classdoc; https://github.com/axelhahn/php-classdoc
4+
---
5+
16
## 📦 Class {{classname}}
27

38
```txt

docs/70_Classes/phpclass-parser.class.php.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
title: Documentation of class axelhahn\phpclassparser
3+
generator: Axels php-classdoc; https://github.com/axelhahn/php-classdoc
4+
---
5+
16
## 📦 Class axelhahn\phpclassparser
27

38
```txt
@@ -23,7 +28,7 @@
2328

2429
Constructs a new instance of the class.
2530

26-
Line [38](https://github.com/axelhahn/php-classdoc//blob/main/src/phpclass-parser.class.php#L38) (5 lines)
31+
Line [38](https://github.com/axelhahn/php-classdoc/blob/main/src/phpclass-parser.class.php#L38) (5 lines)
2732

2833
**Return**: `void`
2934

@@ -37,7 +42,7 @@ Line [38](https://github.com/axelhahn/php-classdoc//blob/main/src/phpclass-parse
3742

3843
Get metainformation for the class
3944

40-
Line [154](https://github.com/axelhahn/php-classdoc//blob/main/src/phpclass-parser.class.php#L154) (15 lines)
45+
Line [154](https://github.com/axelhahn/php-classdoc/blob/main/src/phpclass-parser.class.php#L154) (15 lines)
4146

4247
**Return**: `array`
4348

@@ -47,7 +52,7 @@ Line [154](https://github.com/axelhahn/php-classdoc//blob/main/src/phpclass-pars
4752

4853
Get a hash of methods with its type, parameters, phpdoc infos
4954

50-
Line [175](https://github.com/axelhahn/php-classdoc//blob/main/src/phpclass-parser.class.php#L175) (116 lines)
55+
Line [175](https://github.com/axelhahn/php-classdoc/blob/main/src/phpclass-parser.class.php#L175) (116 lines)
5156

5257
**Return**: `array`
5358

@@ -61,7 +66,7 @@ Line [175](https://github.com/axelhahn/php-classdoc//blob/main/src/phpclass-pars
6166

6267
Get a hash of properties with its type, phpdoc infos, default value, attributes, etc.
6368

64-
Line [299](https://github.com/axelhahn/php-classdoc//blob/main/src/phpclass-parser.class.php#L299) (66 lines)
69+
Line [299](https://github.com/axelhahn/php-classdoc/blob/main/src/phpclass-parser.class.php#L299) (66 lines)
6570

6671
**Return**: `array`
6772

@@ -76,7 +81,7 @@ Line [299](https://github.com/axelhahn/php-classdoc//blob/main/src/phpclass-pars
7681
Sets the class file to be analyzed.
7782
It will detect namespace and class name to initialize the class.
7883

79-
Line [51](https://github.com/axelhahn/php-classdoc//blob/main/src/phpclass-parser.class.php#L51) (74 lines)
84+
Line [51](https://github.com/axelhahn/php-classdoc/blob/main/src/phpclass-parser.class.php#L51) (74 lines)
8085

8186
**Return**: `string|bool`
8287

@@ -93,7 +98,7 @@ Set a classname.
9398
Or use setClassFile() to load the class file and detect the classname.
9499
@see setClassFile()
95100

96-
Line [134](https://github.com/axelhahn/php-classdoc//blob/main/src/phpclass-parser.class.php#L134) (10 lines)
101+
Line [134](https://github.com/axelhahn/php-classdoc/blob/main/src/phpclass-parser.class.php#L134) (10 lines)
97102

98103
**Return**: `void`
99104

@@ -107,7 +112,7 @@ Line [134](https://github.com/axelhahn/php-classdoc//blob/main/src/phpclass-pars
107112

108113

109114

110-
Line [145](https://github.com/axelhahn/php-classdoc//blob/main/src/phpclass-parser.class.php#L145) (4 lines)
115+
Line [145](https://github.com/axelhahn/php-classdoc/blob/main/src/phpclass-parser.class.php#L145) (4 lines)
111116

112117
**Return**: `void`
113118

parse-class.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ function showHelp(){
119119

120120
_wd("Check existence of file [$sClassfile]");
121121
if(!file_exists($sClassfile)){
122+
_wd("File Not found");
122123
echo "ERROR: file not found: $sClassfile".PHP_EOL;
123124
exit(2);
124125
}

0 commit comments

Comments
 (0)