Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
23 | public function buildCell(Cell $cell, array $options) |
||
24 | { |
||
25 | $cell->template = 'Select'; |
||
26 | |||
27 | // TODO: maybe use the property accessor here instead? and default to the property "id". |
||
28 | $agent = $this->agentFinder->findFor(get_class($cell->context)); |
||
29 | |||
30 | $cell->value = $agent->getIdentifier($cell->context); |
||
31 | } |
||
32 | |||
42 |