Exemple #1
0
 /**
  * An an `update` clause to the current command bag
  * @param null $property
  * @param null $value
  * @return $this
  */
 public function update($property = null, $value = null)
 {
     //The is one situation in which we will want to reformat
     // Or, We're adding a single bit of data as well
     if (!is_null($value)) {
         return parent::update([$property => $value]);
     }
     return parent::update($property);
 }