-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#13 add DoctrineCleanerTask documentation
- Loading branch information
Xavier Marchegay
committed
Dec 16, 2024
1 parent
a79f242
commit ce20c9e
Showing
4 changed files
with
49 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
DoctrineCleanerTask | ||
==================== | ||
|
||
Clear the entity manager of an entity. | ||
|
||
Task reference | ||
-------------- | ||
|
||
* **Service**: `CleverAge\DoctrineProcessBundle\Task\EntityManager\DoctrineCleanerTask` | ||
|
||
Accepted inputs | ||
--------------- | ||
|
||
A doctrine entity | ||
|
||
Possible outputs | ||
---------------- | ||
|
||
None | ||
|
||
Options | ||
------- | ||
|
||
None | ||
|
||
Example | ||
------- | ||
|
||
```yaml | ||
entry: | ||
service: '@CleverAge\DoctrineProcessBundle\Task\EntityManager\DoctrineReaderTask' | ||
options: | ||
class_name: 'App\Entity\Author' | ||
criteria: | ||
lastname: 'King' | ||
order_by: | ||
lastname: 'asc' | ||
outputs: [clean] | ||
|
||
clean: | ||
service: '@CleverAge\DoctrineProcessBundle\Task\EntityManager\DoctrineCleanerTask' | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters