PHP Classes

File: vendor/fzaninotto/faker/test/documentor.php

Recommend this page to a friend!
  Classes of Renato De Oliveira Lucena  >  PHP Pokemon Script  >  vendor/fzaninotto/faker/test/documentor.php  >  Download  
File: vendor/fzaninotto/faker/test/documentor.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Pokemon Script
Provides an API to manage a database of Pokemons
Author: By
Last change:
Date: 1 year ago
Size: 481 bytes


Class file image Download
require_once __DIR__ . '/../vendor/autoload.php';

$generator = Faker\Factory::create();
$documentor = new Faker\Documentor($generator);
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; ?>