private function setConfig(\Phalcon\Config $config)  {

        if(defined(CURRENT_TASK) === true) {
            $this->taskName = CURRENT_TASK;
        }

        $this->config = $config->cli->{$this->taskName};

        return $this;
    }