Proposed Version
0.4.0 - 1.0.0
Basic Information
During refactoring, it has been noted that some class constants should/could be turned into Enums to help in more tightly constraining and documenting the classes.
An example is PhpDb\Sql\Metadata\Object\ConstraintObject.php with the following:
/**
* One of "PRIMARY KEY", "UNIQUE", "FOREIGN KEY", or "CHECK"
*/
protected ?string $type = null;
This issue proposes to create a MetaData\Object<xxx>Enum for the various lists that are required.
Background
No response
Considerations
No response
Proposal(s)
No response
Appendix/Additional Info
No response
Proposed Version
0.4.0 - 1.0.0
Basic Information
During refactoring, it has been noted that some class constants should/could be turned into Enums to help in more tightly constraining and documenting the classes.
An example is PhpDb\Sql\Metadata\Object\ConstraintObject.php with the following:
This issue proposes to create a MetaData\Object<xxx>Enum for the various lists that are required.
Background
No response
Considerations
No response
Proposal(s)
No response
Appendix/Additional Info
No response