-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathextension.neon
More file actions
27 lines (27 loc) · 986 Bytes
/
extension.neon
File metadata and controls
27 lines (27 loc) · 986 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
parameters:
fakerstan:
fakerProviderFactory: CalebDW\Fakerstan\FakerProviderFactory
psrProvider:
phpContainerPath: null
setsVariable: null
containerFakerId: Faker\Generator
parametersSchema:
fakerstan: structure([
fakerProviderFactory: string(),
psrProvider: structure([
phpContainerPath: schema(string(), nullable()),
setsVariable: schema(string(), nullable()),
containerFakerId: string()
])
])
services:
- class: CalebDW\Fakerstan\FakerProviderFactory
- class: CalebDW\Fakerstan\PsrContainerFakerProviderFactory
arguments:
phpContainerPath: %fakerstan.psrProvider.phpContainerPath%
setsVariable: %fakerstan.psrProvider.setsVariable%
containerFakerId: %fakerstan.psrProvider.containerFakerId%
- class: CalebDW\Fakerstan\FakerProvider
factory: @%fakerstan.fakerProviderFactory%::create
- class: CalebDW\Fakerstan\ProviderExtension
tags: [phpstan.broker.methodsClassReflectionExtension]