Models and Traits Publishable #39
Open
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
Braking Change: Made the Models and Traits Publishable, so you can add SoftDeletes, auditing, and/or caching if you want (YOU MUST RUN THE INSTALLATION COMMAND)
Braking Change: Check your Namespaces
LaravelConfig
class as an alies of the Model, but it needs more testingBraking Change: The Update function needed to be renamed from
update
toupdate_config
Braking Change: The Update function Only takes one parameter just the
ConfigItem
Braking Change: The
update_config
helper Only takes one parameter just theConfigItem
Braking Change: The Delete function needed to be renamed from
delete
todelete_config
get_config
,set_config
,has_config
, andcreate_config
aliases for consistencyall
function as it's not needed anymore since it's a function of a ModelThis fixes #38 and #37