Rafactors CorsPolicy to use an OOP data structure to make it easier to expand the structure woth other required elements such as authentication policies, etc.
Adds some accessor/mutator methods for CorsPolicy credentials
Adds a new Collection data structure class; just a start on the implementation for now, but it does have a pluck() method which makes it immediately useful
Adds a baseline String data class; many more methods to come; makes it usable in Collections, and brings sanity to the pile of string manipulation functions that PHP provides natively by objectifying the interface ina Java/JavaScript style (though with a custom API)
Adds top level namespaced() static method to PHPGoodies class in order to easily get a properly name-spaced class name
Refactors Collection to support object classes defined either in the global namespace or the PHPGoodies one, and adds an iterate() method
wq
Adds a working example of Collection and String Data classes
Updates some o the source notes for String class
Refactors Collection.pluck() to use its own iterate() method
Adds Collection.find() method which uses iterate() and slightly changes the behavior of iterate to make it STOP iteration whenver the calback function returns false
Adds hasWith() method as a simple wrapper of Collection::find() with truefalse result
Refactors Collection::find() to return the actual object and renames the previous incarnation to findIndex() in case the caller just wants to know the index of the found object and doesn't want the object itself
Refactors CorsPolicy to use Collection for managing some of it internal resources in order to be more OOPish.
Eliminates PHPNotice for returning null by reference... by returning a reference to a variable set to null (duh)
Corrects wildcard matcher on getMatchingOrigin()
Refactors to use updated CorsPolicy