| @@ 67-77 (lines=11) @@ | ||
| 64 | /** |
|
| 65 | * @inheritDoc |
|
| 66 | */ |
|
| 67 | public function build() |
|
| 68 | { |
|
| 69 | $builders = $this->getBuildersList(); |
|
| 70 | ||
| 71 | $config = new EndpointConfiguration(); |
|
| 72 | foreach ($builders as $builder) { |
|
| 73 | $builder($config); |
|
| 74 | } |
|
| 75 | ||
| 76 | return Endpoint::fromConfig($config); |
|
| 77 | } |
|
| 78 | } |
|
| 79 | ||
| @@ 75-85 (lines=11) @@ | ||
| 72 | /** |
|
| 73 | * @inheritDoc |
|
| 74 | */ |
|
| 75 | public function build() |
|
| 76 | { |
|
| 77 | $builders = $this->getBuildersList(); |
|
| 78 | ||
| 79 | $config = new EndpointConfiguration(); |
|
| 80 | foreach ($builders as $builder) { |
|
| 81 | $builder($config); |
|
| 82 | } |
|
| 83 | ||
| 84 | return FakeEndpoint::fromConfig($config); |
|
| 85 | } |
|
| 86 | }; |
|
| 87 | ||