private function getValidOwnerIds()
    {
        $userRepo = $this->repository->getEntityManager()->getRepository(Entity\Users::class);
        $query = $userRepo->createQueryBuilder()
            ->select('id')
            ->where('enabled = :enabled')
            ->setParameter('enabled', true)
        ;
        $userRecords = $query->execute()->fetchAll(\PDO::FETCH_COLUMN);

        return $userRecords;
    }
private function getValidOwnerIds()
    {
        $userRepo = $this->repository->getEntityManager()->getRepository(Entity\Users::class);
        $query = $userRepo->createQueryBuilder()
            ->select('id')
            ->where('enabled = :enabled')
            ->setParameter('enabled', true)
        ;
        $userRecords = $query->execute()->fetchAll(\PDO::FETCH_COLUMN);

        return $userRecords;
    }
private function getValidOwnerIds ( ) { $ userRepo = $ this -> repository -> getEntityManager ( ) -> getRepository ( Entity \ Users :: class ) ; $ query = $ userRepo -> createQueryBuilder ( ) -> select ( 'id' ) -> where ( 'enabled = :enabled' ) -> setParameter ( 'enabled' , true ) ; $ userRecords = $ query -> execute ( ) -> fetchAll ( \ PDO :: FETCH_COLUMN ) ; return $ userRecords ; }
Return an array of enabled system IDs.

@return array
Return an array of enabled system IDs .