1234567891011121314151617 |
- <?php
- require_once __DIR__ . '/../vendor/autoload.php';
- $generator = Faker\Factory::create();
- $generator->seed(1);
- $documentor = new Faker\Documentor($generator);
- ?>
- <?php foreach ($documentor->getFormatters() as $provider => $formatters): ?>
- ### `<?php echo $provider ?>`
- <?php foreach ($formatters as $formatter => $example): ?>
- <?php echo str_pad($formatter, 23) ?><?php if ($example): ?> // <?php echo $example ?> <?php endif; ?>
- <?php endforeach; ?>
- <?php endforeach;
|