/**
  * Get Usernames as array
  *
  * @param string $entity User Entity Class Name
  *
  * @return array
  */
 public function getUserNames($entity)
 {
     $users = $this->getDoctrine()->getRepository($entity)->findBy(['enabled' => true], ['id' => 'asc']);
     return CollectionUtility::get('username', $users);
 }