You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 line
481B

  1. <?php
  2. require_once __DIR__ . '/../vendor/autoload.php';
  3. $generator = Faker\Factory::create();
  4. $generator->seed(1);
  5. $documentor = new Faker\Documentor($generator);
  6. ?>
  7. <?php foreach ($documentor->getFormatters() as $provider => $formatters): ?>
  8. ### `<?php echo $provider ?>`
  9. <?php foreach ($formatters as $formatter => $example): ?>
  10. <?php echo str_pad($formatter, 23) ?><?php if ($example): ?> // <?php echo $example ?> <?php endif; ?>
  11. <?php endforeach; ?>
  12. <?php endforeach;