Details |
Letzte Änderung |
Log anzeigen
| RSS feed
| Revision |
Autor |
Zeilennr. |
Zeile |
| 148 |
lars |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
declare(strict_types=1);
|
|
|
4 |
|
|
|
5 |
namespace Faker\Extension;
|
|
|
6 |
|
|
|
7 |
use Faker\Generator;
|
|
|
8 |
|
|
|
9 |
/**
|
|
|
10 |
* @experimental This interface is experimental and does not fall under our BC promise
|
|
|
11 |
*/
|
|
|
12 |
interface GeneratorAwareExtension extends Extension
|
|
|
13 |
{
|
|
|
14 |
/**
|
|
|
15 |
* This method MUST be implemented in such a way as to retain the
|
|
|
16 |
* immutability of the extension, and MUST return an instance that has the
|
|
|
17 |
* new Generator.
|
|
|
18 |
*/
|
|
|
19 |
public function withGenerator(Generator $generator): Extension;
|
|
|
20 |
}
|