PHP code example of vendimia / helper

1. Go to this page and download the library: Download vendimia/helper library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

vendimia / helper example snippets


use Vendimia\Helper\TextFromDocComment;

Its purpose is to hold a multiline doc comment to test the
 * Vendimia\Helper\TextFromDocComment class.
 */
function dummy()
{

}

echo (string)new TextFromDocComment(
    new ReflectionFunction(dummy(...))->getDocComment()
);