protected function createAndPersistData()
 {
     for ($i = 1; $i <= self::CONTACTS_COUNT; $i++) {
         $contact = new Contact();
         $contact->setName(sprintf('contact %s', $i));
         $contact->setEmail(sprintf('*****@*****.**', $i));
         $contact->setMobilePhone(rand(1111111111, 9999999999));
         $contact->setPhone(rand(1111111111, 9999999999));
         $this->manager->persist($contact);
         $this->setReference(sprintf('contact_%s', $i), $contact);
     }
 }