diff --git a/src/Entity/Customer.php b/src/Entity/Customer.php index c1cd86cd..10a131ea 100644 --- a/src/Entity/Customer.php +++ b/src/Entity/Customer.php @@ -116,6 +116,15 @@ class Customer return $this->numbers; } + public function getMobileNumberList() + { + $numbers = []; + foreach ($this->numbers as $number) + $numbers[] = $number->getID(); + + return $numbers; + } + public function addMobileSession(MobileSession $session) { $this->sessions->add($session);