File tree Expand file tree Collapse file tree 4 files changed +6
-36
lines changed Expand file tree Collapse file tree 4 files changed +6
-36
lines changed Original file line number Diff line number Diff line change @@ -6,36 +6,8 @@ Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) princip
66
77## Unreleased
88
9- ## 0.2 .0 (2018-07-26)
9+ ## 0.1 .0 (2018-07-26)
1010
1111### Added
1212
13- - Added a base Eloquent model
14- - Added a queueable job
15- - Added auto-discovery
16- - Added a test suite and tests
17- - Updated documents
18- - Added boolean date parsing in base model
19- - Add Laravel 5.6 service provider bindings and singletons properties
20- - Alias all predefined class aliases
21- - Map polymorphic models to their alias
22- - Auto-register event listeners and subscribers
23- - Added a call to a request handler's _ before_ method
24-
25- ### Changed
26-
27- - Require PHP 7.2 or higher
28- - Require Laravel 5.6 or higher
29-
30- ### Removed
31-
32- - Removed empty ` mapRoutes ` method
33- - Removed empty ` registerCommands ` method
34- - Removed empty ` bindRepositories ` method
35- - Removed empty ` mapMorphTypes ` method
36- - Removed empty ` bootMiddleware ` method
37- - Extracted ` BooleanDates ` class to its own package
38-
39- ### Fixed
40-
41- - Correctly resolve config file
13+ - Added BooleanDates model trait
Original file line number Diff line number Diff line change 11# The MIT License (MIT)
22
3- Copyright (c) 2017 Sebastiaan Luca < hello@sebastiaanluca.com >
3+ Copyright (c) 2018 Sebastiaan Luca < hello@sebastiaanluca.com >
44
55> Permission is hereby granted, free of charge, to any person obtaining a copy
66> of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change @@ -124,8 +124,6 @@ False values are converted to `NULL`.
124124Use a boolean field's defined _ key_ to access its boolean value:
125125
126126``` php
127- <?php
128-
129127$user = User::findOrFail(42);
130128
131129$user->has_accepted_terms_and_conditions;
@@ -152,8 +150,6 @@ $user->has_agreed_to_something;
152150Use a boolean field's defined _ value_ to explicitly access its (Carbon) datetime value:
153151
154152``` php
155- <?php
156-
157153$user = User::findOrFail(42);
158154
159155$user->accepted_terms_at;
Original file line number Diff line number Diff line change 44
55namespace SebastiaanLuca \BooleanDates ;
66
7- class BooleanDatesServiceProvider extends Provider
7+ use Illuminate \Support \ServiceProvider ;
8+
9+ class BooleanDatesServiceProvider extends ServiceProvider
810{
911}
You can’t perform that action at this time.
0 commit comments