createExisting() public static method

public static createExisting ( $data ) : static
$data
return static
 /**
  * Load data to collection.
  *
  * @param $data
  * @return static
  */
 public function load($data)
 {
     foreach ($data as $row) {
         $this->put($row['id'], RequestEntity::createExisting($row));
     }
     return $this;
 }