Location: PHPKode > scripts > Faker > fzaninotto-Faker-a6589c6/test/documentor.php
<?php
require_once __DIR__ . '/../src/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; ?>
Return current item: Faker