Browse Source

Allow to define default options in the tasks (eg: flags)

pull/1/head
Andrés Montañez 8 years ago
parent
commit
abf10b05f8
  1. 2
      src/Task/AbstractTask.php

2
src/Task/AbstractTask.php

@ -62,7 +62,7 @@ abstract class AbstractTask
$options = []; $options = [];
} }
$this->options = array_merge($options, $this->getDefaults()); $this->options = array_merge($this->getDefaults(), $options);
return $this; return $this;
} }

Loading…
Cancel
Save