phpci = $phpci; $this->directory = isset($options['directory']) ? $phpci->buildPath . '/' . $options['directory'] : $phpci->buildPath; $this->action = isset($options['action']) ? $options['action'] : 'update'; } public function execute() { return $this->phpci->executeCommand('composer --working-dir=' . $this->directory . ' ' . $this->action); } }