| @@ 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 | ||
| @@ 72-82 (lines=11) @@ | ||
| 69 | /** |
|
| 70 | * @inheritDoc |
|
| 71 | */ |
|
| 72 | public function build() |
|
| 73 | { |
|
| 74 | $builders = $this->getBuildersList(); |
|
| 75 | ||
| 76 | $config = new EndpointConfiguration(); |
|
| 77 | foreach ($builders as $builder) { |
|
| 78 | $builder($config); |
|
| 79 | } |
|
| 80 | ||
| 81 | return Endpoint::fromConfig($config); |
|
| 82 | } |
|
| 83 | } |
|
| 84 | ||