piedweb/method-doc-block-generator

0.1.804 2024-10-08 09:18 UTC

README

Open Source Package

Method Doc Block Generator

Latest Version Software License GitHub Tests Action Status Quality Score Code Coverage Type Coverage Total Downloads

Install

Via Packagist

$ composer req piedweb/method-doc-block-generator

Usage

MethodDocBlockGenerator CLI

Example :

include 'vendor/autoload.php';

use \PiedWeb\MethodDocBlockGenerator\MethodDocBlockGenerator;

$output = '<?php
/**
';
foreach ($extensionList as $className) {
    $output .= (new MethodDocBlockGenerator())->run($className);
}
$output .= ' */
class PlatesTemplate extends Template { }';

file_put_contents('src/Service/PlatesTemplate.php', $output);

Contributing

Please see contributing

Credits

License

The MIT License (MIT). Please see License File for more information.

Latest Version Software License Build Status Quality Score Code Coverage Total Downloads