refactoring

This commit is contained in:
Vladimir Grigor
2014-07-26 15:33:07 +03:00
parent a26663bec9
commit eaccc0dab8
6 changed files with 209 additions and 49 deletions
+9 -1
View File
@@ -150,7 +150,15 @@ abstract class AbstractTask
*/
public function getParameter($name, $default = null)
{
return $this->getConfig()->getParameter($name, $default, $this->parameters);
return $this->getConfig()->getParameter($name, $default, $this->getParameters());
}
/**
* @return array
*/
protected function getParameters()
{
return $this->parameters;
}
/**