Architecture #6370
closedWe may have more than one class parameter
Description
Class parameters identify the object we are working on, as opposed to other parameters that define the state of this object.
It is usually the first parameter but not always.
For example : permissions, we are working on a file and the state we want is the permissions we are giving it.
But some objects need more than one parameter to be described.
For example : file_ensure_block_in_section, the object is the section definition within a file, and the status is its content.
We should be able to describe this, and this have more that one class parameter.
This will help distinguish between incompatible states (2 different states on the same objects), identical states (same state on the same object) and compatible states (on 2 different objects).
This will be reflected in reporting. Incompatible states may produce conflicting reports, identical state may produce single report, and compatible state will produce 2 different reports.