MAKS\AmqpAgent\Worker\WorkerMutationTrait
A trait containing the implementation of members mutation functions.
Synopsis
- // members
- protected array $mutation = ;
- // methods
- protected array mutateClassMember()
- protected array mutateClassSubMember()
- private array mutateClass()
Hierarchy
Used by
Coverage
Methods | 0% | 0 / 3 |
Lines | 0% | / |
Members
protected
- $mutation
—
array
The last mutation happened to a class member (for debugging purposes).
Methods
private
- mutateClass() — Mutates a class property nested or not and returns the replaced subset.
protected
- mutateClassMember() — Mutates a subset of an array (class property) and returns the replaced subset.
- mutateClassSubMember() — Mutates a subset of an array inside a class property (nested array inside a property) and returns the replaced subset.
History
-
2021-01-12T21:10:22+00:00 (commit #7d1de7b)
Author: Marwan Al-Soltany (MarwanAlsoltany@gmail.com) / Commiter: Marwan Al-Soltany (MarwanAlsoltany@gmail.com)
Update worker mutation trait * Change signature of mutateClass() method * Update DocBlocks
-
2021-01-12T21:10:21+00:00 (commit #d09424b)
Author: Marwan Al-Soltany (MarwanAlsoltany@gmail.com) / Commiter: Marwan Al-Soltany (MarwanAlsoltany@gmail.com)
Add strict types declaration * Add declare(strict_types=1) to all files * Fix file header DocBlock spacing of all files
-
2020-09-25T20:23:50+00:00 (commit #72486c2)
Author: Marwan Al-Soltany (MarwanAlsoltany@gmail.com) / Commiter: Marwan Al-Soltany (MarwanAlsoltany@gmail.com)
Update worker mutation trait * Remove mutateClassConst method as it is not used anymore
-
2020-09-23T18:47:06+00:00 (commit #1a3f203)
Author: Marwan Al-Soltany (MarwanAlsoltany@gmail.com) / Commiter: Marwan Al-Soltany (MarwanAlsoltany@gmail.com)
Fix typos and update DocBlocks * Fix some typos in DockBlocks and other parts of the codebase * Add examples to classes DocBlocks
-
2020-06-13T05:50:47+00:00 (commit #afcd511)
Author: Marwan Al-Soltany (MarwanAlsoltany@gmail.com) / Commiter: Marwan Al-Soltany (MarwanAlsoltany@gmail.com)
Implement the abstract worker * Add AbstractWorker.php * Add WorkerMutationTrait.php * Add WorkerCommandTrait.php