private function hasFeedBackup(Application $app)
    {
        $rsm = (new ResultSetMapping())->addScalarResult('Name', 'Name');
        $backup = false;

        foreach ($app['orm.em']->createNativeQuery('SHOW TABLE STATUS', $rsm)->getResult() as $row) {
            if ('feeds_backup' === $row['Name']) {
                $backup = true;
                break;
            }
        }

        return $backup;
    }
private function hasFeedBackup(Application $app)
    {
        $rsm = (new ResultSetMapping())->addScalarResult('Name', 'Name');
        $backup = false;

        foreach ($app['orm.em']->createNativeQuery('SHOW TABLE STATUS', $rsm)->getResult() as $row) {
            if ('feeds_backup' === $row['Name']) {
                $backup = true;
                break;
            }
        }

        return $backup;
    }
private function hasFeedBackup ( Application $ app ) { $ rsm = ( new ResultSetMapping ( ) ) -> addScalarResult ( 'Name' , 'Name' ) ; $ backup = false ; foreach ( $ app [ 'orm.em' ] -> createNativeQuery ( 'SHOW TABLE STATUS' , $ rsm ) -> getResult ( ) as $ row ) { if ( 'feeds_backup' === $ row [ 'Name' ] ) { $ backup = true ; break ; } } return $ backup ; }
Checks whether `feeds_backup` tables exists.

@param Application $app

@return boolean True if `feeds_backup` table exists.
Checks whether feeds_backup tables exists .