• Joost Koehoorn's avatar
    Fixed problem with manual running of Artisan tasks · a1c7dde0
    Joost Koehoorn authored
    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.
    a1c7dde0
command.php 4.81 KB