@@ -54,6 +54,9 @@ |
||
54 | 54 | |
55 | 55 | # Output contents |
56 | 56 | |
57 | + /** |
|
58 | + * @param string $status |
|
59 | + */ |
|
57 | 60 | public static function output(Template\Asset\Block $block, $status = null) { |
58 | 61 | |
59 | 62 | if ((null === $status) || !Headers::isStatusCode($status)) $status = STATUS_CODE_200; |
@@ -14,6 +14,9 @@ |
||
14 | 14 | |
15 | 15 | # Get tag |
16 | 16 | |
17 | + /** |
|
18 | + * @param string $contents |
|
19 | + */ |
|
17 | 20 | protected function getTag(string $name, array $attributes = [], $contents = null) { |
18 | 21 | |
19 | 22 | $tag = new Tag($name, $attributes, $contents); |
@@ -49,6 +49,9 @@ |
||
49 | 49 | |
50 | 50 | # Validate file or directory name |
51 | 51 | |
52 | + /** |
|
53 | + * @return string |
|
54 | + */ |
|
52 | 55 | public static function fileName(string $value) { |
53 | 56 | |
54 | 57 | return (preg_match(REGEX_FILE_NAME, $value) ? $name : false); |