init
This commit is contained in:
20
vendor/fakerphp/faker/src/Faker/Extension/GeneratorAwareExtension.php
vendored
Normal file
20
vendor/fakerphp/faker/src/Faker/Extension/GeneratorAwareExtension.php
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Faker\Extension;
|
||||
|
||||
use Faker\Generator;
|
||||
|
||||
/**
|
||||
* @experimental This interface is experimental and does not fall under our BC promise
|
||||
*/
|
||||
interface GeneratorAwareExtension extends Extension
|
||||
{
|
||||
/**
|
||||
* This method MUST be implemented in such a way as to retain the
|
||||
* immutability of the extension, and MUST return an instance that has the
|
||||
* new Generator.
|
||||
*/
|
||||
public function withGenerator(Generator $generator): Extension;
|
||||
}
|
||||
Reference in New Issue
Block a user