Generates docs that rocks your socks off.
Why it rock your socks off:
More Info:
Receives the namespace or class to be documented
Example 1:
$doc = new Doc('Respect'); //Full Namespace
$title = 'Respect\Doc\Doc' . PHP_EOL
. '===========';
$this->assertStringStartsWith($title, (string) $doc);
Example 2:
$doc = new Doc('Respect\Doc'); //Specific |class Name
$title = 'Respect\Doc\Doc' . PHP_EOL
. '===========';
$this->assertStringStartsWith($title, (string) $doc);
Returns the documentation in markdown
Example 1:
$class = 'Respect\Doc';
$doc = new Doc($class);
$markdown = (string) $doc;
$doc = file_put_contents('../README.md', $markdown); //Happy Panda
$this->assertStringEqualsFile('../README.md', $markdown);
DocItem Reflection Class to speak where is the socks to rock it.
More Info:
__construct Construct a doc Item
More Info:
speak Markdownish
More Info: