Download the PHP package vendimia/helper without Composer
On this page you can find all versions of the php package vendimia/helper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package helper
Vendimia helper classes
Vendimia\Helper\TextFromDocComment
Process a DocComment, (perhaps obtained with Reflection*::getDocComment()
method), obtaining only the text with preceding or trailing spaces or empty lines removed. Also remove an initial *
on each line.
public string $text
Processed text, also obtainable by using the class in a string context.
public function __construct(string $doc_comment, bool $merge_lines = true)
-
string $doc_comment
: Original doc comment. bool $merge_lines
:true
merges continuous non-empty lines as one, joined by a single empty space.false
returns the lines as is.
Example
This outputs:
On PHP prior to 8.4, you must enclose new ReflectionFunction(dummy(...))
on parenthesis.
All versions of helper with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
The package vendimia/helper contains the following files
Loading the files please wait ....