Announcement

Collapse
No announcement yet.

Hello, as in ORM to receive phoneNumberData

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Hello, as in ORM to receive phoneNumberData

    Hello, as in ORM to receive phoneNumberData, for example:

    $entityManager = $this->getEntityManager();
    $contact = $entityManager->getRepository('Contact')->get('592c345564a3e43c3');
    $phoneNumberData = $contact->get('phoneNumberData');

    Returns a blank, although phone numbers are

  • #2
    Thanks, I found the solution myself!
    $entityManager = $this->getEntityManager();
    $contact = $entityManager->getRepository('Contact')->get('592c345564a3e43c3');
    $phoneNumberData = $this->getEntityManager()->getRepository('PhoneNumber')->getPhoneNumberData($contact);

    Comment


    • #3

      $ curl -X POST https://textbelt.com/text \ --data-urlencode phone='5557727420' \ --data-urlencode message='Hello world' \ -d key=textbelt

      Comment

      Working...
      X