So this a completely stupid beginner question but I spent so much time just investigating whats going on and I have absolutely no more ideas.

I'm trying to get private values of an object called "Cell" out of an CellLineRepository. The getters are working, they're getting used at a different place.

This is how my foreach looks:

```
$all_cell_lines = CellLineRepository::findAll();
$allcells = [];
foreach ($all_cell_lines as $cell) {
    $allcells[] = [
        "CellID" => $cell->getId(),
        "iPSC-ID" => $cell->getIpscId(),
        "Lab-ID" => $cell->getLabId(),
        "altID" => $cell->getAltId(),
        "project" => $cell->getProject()
    ];
    var_dump($allcells);
}

```

A `var_dump()` of `$all_cell_lines` looks good, but I'm losing "iPSC-ID" and "Lab-ID".

```
object(CellLine)#9 (79) {
[
  "id": "CellLine":private
]=>
string(1) "1"
[
  "created_date": "CellLine":private
]=>
string(10) "2019-05-22"
[
  "created_by": "CellLine":private
]=>
string(3) "314"
[
  "last_modified_date": "CellLine":private
]=>
string(10) "2019-11-22"
[
  "last_modified_by": "CellLine":private
]=>
string(3) "301"
[
  "tab_type": "CellLine":private
]=>
string(8) "internal"
[
  "lab_id": "CellLine":private
]=>
string(5) "xxx"
[
  "alt_id": "CellLine":private
]=>
string(7) "xxx"
[
  "provider": "CellLine":private
]=>
string(36) "xxx"

```

A `var_dump()` of `$allcells` looks like this:

```
    array(1) {
  [
    0
  ]=>
  array(5) {
    [
      "CellID"
    ]=>
    string(1) "1"
    [
      "iPSC-ID"
    ]=>
    string(0) ""
    [
      "Lab-ID"
    ]=>
    string(0) ""
    [
      "altID"
    ]=>
    string(7) "xxx"
    [
      "project"
    ]=>
    string(3) "xxx"
  }
}

```

Does someone have a clue?