-
-
Save kinglozzer/26a618484cfb61515af3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Injector: | |
TaskRunner: | |
class: MyCustomTaskRunner |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class MyCustomTaskRunner extends TaskRunner { | |
/** | |
* @return array | |
*/ | |
protected function getTasks() { | |
$tasks = parent::getTasks(); | |
$this->extend('updateTaskList', $tasks); | |
return $tasks; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment