command.php
4.81 KB
-
Fixed problem with manual running of Artisan tasks · a1c7dde0
When running an Artisan task from within your application using `Command::run`, it fails when the same task is ran more than once. Every time the task is resolved, its file is included using `require` leading to duplicate class definitions. By using `require_once` this problem is avoided.
Joost Koehoorn committed