From 503ade585f25a740d2f2f5b63b8c1a4ac6820cea Mon Sep 17 00:00:00 2001 From: Dustin Wilson Date: Mon, 11 Oct 2021 09:53:50 -0500 Subject: [PATCH] Added description for Exception to README --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 1b6f0dc..84f49f0 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ Common classes and traits used in many MensBeam projects +## Exception ## + +Basic exception framework using constants for error codes with corresponding messages. Exceptions can have any number of parameters that are varied from error code to error code. + ## Magic Properties ## Let's face it. Getters and setters in PHP sucks. Instead of having getter and setter accessor methods for classes we instead have the `__get` and `__set` magic methods to handle all properties. Not only are they unwieldy to use when you have many properties they also become difficult to handle when inheriting, especially when traits are involved. This trait attempts to create hackish getter and setter methods that can be extended by simple inheritance. \ No newline at end of file