Skip to content

Instantly share code, notes, and snippets.

@kinglozzer
Created September 21, 2015 10:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kinglozzer/26a618484cfb61515af3 to your computer and use it in GitHub Desktop.
Save kinglozzer/26a618484cfb61515af3 to your computer and use it in GitHub Desktop.
Injector:
TaskRunner:
class: MyCustomTaskRunner
<?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