get() public method

Returns the built batch modification array.
public get ( ) : array | null
return array | null
Esempio n. 1
0
 /**
  * Adds a modification to the models modifications array.
  *
  * @param BatchModification $modification
  *
  * @return $this
  */
 public function addModification(BatchModification $modification)
 {
     $batch = $modification->get();
     if (is_array($batch)) {
         $this->modifications[] = $batch;
     }
     return $this;
 }