File tree Expand file tree Collapse file tree 4 files changed +9
-14
lines changed Expand file tree Collapse file tree 4 files changed +9
-14
lines changed Original file line number Diff line number Diff line change @@ -4,4 +4,8 @@ This project follows [Semantic Versioning](CONTRIBUTING.md).
4
4
5
5
---
6
6
7
- ### v1.0.0 - TBD
7
+ ### v2.0.0 - 09/03/2017
8
+ Initial stable release for Laravel 5.5
9
+
10
+ ### v1.0.0 - 09/03/2017
11
+ Initial stable release for Laravel 5.4
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ Manage your `Laravel Schedule` from a pretty dashboard. Schedule your `Laravel C
19
19
20
20
| <span align =" left " >Laravel</span > | <span align =" left " >Totem</span > |
21
21
| :-------| ----------:|
22
- | master | master|
23
22
| 5.5 | 2.0 |
24
23
| 5.4 | 1.0 |
25
24
Original file line number Diff line number Diff line change 2
2
3
3
namespace Studio \Totem \Console ;
4
4
5
+ use Illuminate \Support \Facades \Artisan ;
6
+
5
7
class Kernel extends \Illuminate \Foundation \Console \Kernel
6
8
{
7
9
/**
@@ -13,13 +15,9 @@ public function all()
13
15
{
14
16
$ this ->bootstrap ();
15
17
16
- if (! $ this ->commandsLoaded ) {
17
- $ this ->commands ();
18
-
19
- $ this ->commandsLoaded = true ;
20
- }
18
+ $ this ->commands ();
21
19
22
- return collect ($ this -> getArtisan ()-> all ())->sortBy (function ($ command ) {
20
+ return collect (Artisan:: all ())->sortBy (function ($ command ) {
23
21
return $ command ->getDescription ();
24
22
});
25
23
}
@@ -31,11 +29,6 @@ public function all()
31
29
*/
32
30
protected function commands ()
33
31
{
34
- // TODO: remove this method while 5.5 branching
35
- if (method_exists ($ this , 'load ' )) {
36
- $ this ->load (base_path ('app/Console/Commands ' ));
37
- }
38
-
39
32
if (file_exists (base_path ('routes/console.php ' ))) {
40
33
require base_path ('routes/console.php ' );
41
34
}
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ class ConsoleServiceProvider extends ServiceProvider
16
16
*/
17
17
public function boot ()
18
18
{
19
- // TODO: refactor this to resolving callback while 5.5 branching
20
19
$ this ->app ->booted (function () {
21
20
if ($ this ->app ->runningInConsole ()) {
22
21
$ this ->schedule ($ this ->app ->make (Schedule::class));
You can’t perform that action at this time.
0 commit comments