public function __construct($locale, ProviderResolver $providers) { parent::__construct($locale, $providers->all()); }
/** * @param string $locale * @param ProviderChain $providerChain * @param int $seed * @param array $parameters */ public function __construct($locale = 'en_US', ProviderChain $providerChain, $seed = 1, array $parameters = []) { parent::__construct($locale, $providerChain->getProviders(), $seed, $parameters); }
public function __construct(ProcessorRegistry $processorRegistry, $locale = "en_US", array $providers = array()) { parent::__construct($locale, $providers); $this->processorRegistry = $processorRegistry; }