/** * Gets/sets log data * * @param array $data * @return mixed */ public function data(array $data = null) { if ($data === null) { return $this->_data; } $this->_data['log'] = $data; $this->_data['start_time'] = \Deployer\Logger::startTime('Y-m-d H:i:s'); return $this; }