Skip to content

Commit b14ca55

Browse files
authored
Merge pull request #73 from php-etl/fix/public-service
The public option is no longer necessary for the service declared in the use option
2 parents 1a7147d + b7b6606 commit b14ca55

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

content/connectivity/custom/_index.en.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ custom:
3939
extractor:
4040
use: 'App\Class\Bar'
4141
services:
42-
App\Class\Bar:
43-
public: true
42+
App\Class\Bar: ~
4443
```
4544
4645
### Building a transformer
@@ -56,7 +55,6 @@ custom:
5655
method: extract
5756
arguments:
5857
- '@foo'
59-
public: true
6058
```
6159
6260
### Building a loader
@@ -69,5 +67,4 @@ custom:
6967
App\Class\Bar:
7068
calls:
7169
- withUsername: [ 'admin' ]
72-
public: true
7370
```

content/core-concept/satellite/action/index.en.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ workflow:
6969
custom:
7070
use: 'App\MyCustomAction'
7171
services:
72-
App\MyCustomAction:
73-
public: true
72+
App\MyCustomAction: ~
7473
```
7574

7675
To find out more about how to use services, visit [declaring services](../../../feature/services).

0 commit comments

Comments
 (0)