for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PhpGitHooks\Module\Tests\Infrastructure\Stub;
use Faker\Factory;
use Faker\Generator;
class StubCreator
{
/**
* @var Generator
*/
private static $faker;
* @return Generator
public static function faker()
return self::$faker = self::$faker ?: Factory::create();
}