Esempio n. 1
0
 /**
  * @param array $values
  * @return array
  */
 protected function addUpdatedAtColumn(array $values)
 {
     if (!$this->model->usesTimestamps()) {
         return $values;
     }
     $column = $this->model->getUpdatedAtColumn();
     return Arr::add($values, $column, $this->model->freshTimestampString());
 }