@@ 488-495 (lines=8) @@ | ||
485 | throw new InvalidArgumentException('No entity relation present for '. $className . ' to ' . $objectType); |
|
486 | } |
|
487 | ||
488 | private function findDetailsForStack($stackId) { |
|
489 | $stack = $this->stackMapper->find($stackId); |
|
490 | $board = $this->boardMapper->find($stack->getBoardId()); |
|
491 | return [ |
|
492 | 'stack' => $stack, |
|
493 | 'board' => $board |
|
494 | ]; |
|
495 | } |
|
496 | ||
497 | private function findDetailsForCard($cardId, $subject = null) { |
|
498 | $card = $this->cardMapper->find($cardId); |
|
@@ 521-528 (lines=8) @@ | ||
518 | return array_merge($data, ['attachment' => $attachment]); |
|
519 | } |
|
520 | ||
521 | private function findDetailsForAcl($aclId) { |
|
522 | $acl = $this->aclMapper->find($aclId); |
|
523 | $board = $this->boardMapper->find($acl->getBoardId()); |
|
524 | return [ |
|
525 | 'acl' => $acl, |
|
526 | 'board' => $board |
|
527 | ]; |
|
528 | } |
|
529 | ||
530 | } |
|
531 |